Debugging

This commit is contained in:
Steffen Illium 2022-01-11 14:27:08 +01:00
parent b6c8cbd2e3
commit 0e8a4af740
3 changed files with 11 additions and 11 deletions

View File

@ -28,9 +28,9 @@ class Actions(BaseActions):
class Rewards(BaseRewards):
CLEAN_UP_VALID = 1
CLEAN_UP_VALID = 0.5
CLEAN_UP_FAIL = -0.1
CLEAN_UP_LAST_PIECE = 4
CLEAN_UP_LAST_PIECE = 4.5
class DirtProperties(NamedTuple):

View File

@ -79,11 +79,11 @@ class EnvActions:
class Rewards:
MOVEMENTS_VALID = -0.01
MOVEMENTS_FAIL = -0.1
NOOP = -0.01
USE_DOOR_VALID = -0.01
USE_DOOR_FAIL = -0.1
COLLISION = -0.5
MOVEMENTS_FAIL = -0.10
NOOP = -0.01
USE_DOOR_VALID = -0.00
USE_DOOR_FAIL = -0.10
COLLISION = -0.5
m = EnvActions

View File

@ -113,10 +113,10 @@ if __name__ == '__main__':
# What to do:
train = True
individual_run = True
combined_run = True
combined_run = False
multi_env = False
train_steps = 2e5
train_steps = 2e6
frames_to_stack = 3
# Define a global studi save path
@ -155,8 +155,8 @@ if __name__ == '__main__':
env_map = {}
env_map.update({'dirt': (DirtFactory, dict(dirt_prop=dirt_props,
**factory_kwargs.copy()))})
# env_map.update({'item': (ItemFactory, dict(item_prop=item_props,
# **factory_kwargs.copy()))})
env_map.update({'item': (ItemFactory, dict(item_prop=item_props,
**factory_kwargs.copy()))})
# env_map.update({'dest': (DestFactory, dict(dest_prop=dest_props,
# **factory_kwargs.copy()))})
env_map.update({'combined': (DirtDestItemFactory, dict(dest_prop=dest_props,