Replacing seed with version name variable in environment id naming
This commit is contained in:
parent
d558b9f558
commit
47a0772c9d
@ -8,6 +8,7 @@ def make(
|
||||
resource_files,
|
||||
img_source,
|
||||
total_frames,
|
||||
version,
|
||||
seed=1,
|
||||
visualize_reward=True,
|
||||
from_pixels=False,
|
||||
@ -20,7 +21,7 @@ def make(
|
||||
video_recording=False,
|
||||
video_recording_dir=None,
|
||||
):
|
||||
env_id = 'dmc_%s_%s_%s-v1' % (domain_name, task_name, seed)
|
||||
env_id = 'dmc_%s_%s_%s-v1' % (domain_name, task_name, version)
|
||||
|
||||
if from_pixels:
|
||||
assert not visualize_reward, 'cannot use visualize reward when learning from pixels'
|
||||
|
Loading…
Reference in New Issue
Block a user