-
Notifications
You must be signed in to change notification settings - Fork 85
TypeError: unhashable type: 'list' #14
Copy link
Copy link
Open
Description
I encountered an error
Traceback (most recent call last):
File "example.py", line 11, in <module>
model.train(ckpt_dir='ckpt')
File "/home/deepest/ORGAN/organ/__init__.py", line 813, in train
batch_reward, self.LAMBDA)
File "/home/deepest/ORGAN/organ/rollout.py", line 119, in get_reward
rew = reward_fn(generated_seqs)
File "/home/deepest/ORGAN/organ/__init__.py", line 786, in batch_reward
pct_unique = len(list(set(decoded))) / float(len(decoded))
TypeError: unhashable type: 'list'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels