bugfix in deepsets
This commit is contained in:
@@ -9,6 +9,9 @@ with open(config_path, 'r') as cfg:
|
||||
|
||||
filestr = 'tests/policies/base_'
|
||||
|
||||
|
||||
batch = pickle.load(open(filestr+'_test_batch.pkl', 'rb'))
|
||||
batch['relative_state'] = batch['relative_state'].float()
|
||||
policy = BehaviorCloningPolicy.load_model(config, filestr)
|
||||
policy.policy = policy.policy.type(batch['state'].dtype)
|
||||
action = policy(batch)
|
||||
Reference in New Issue
Block a user