Relational-NEM icon indicating copy to clipboard operation
Relational-NEM copied to clipboard

Question on running atari KeyError: 'Added a new config entry "input" that is not used anywhere'

Open lizhenstat opened this issue 4 years ago • 1 comments

Hi, thanks for your work and sharing the code, when running the atari example

python nem.py with dataset.atari network.enc_dec_84_atari network.r_nem_actions no_score no_collisions nem.k=4 nem.nr_steps=25 training.batch_size=32 feed_actions=True noise.prob=0.002

it gives out the following error

KeyError: 'Added a new config entry "input" that is not used anywhere'

I search the file and cannot find the definition for enc_dec_84_atari

Do you know how to fix the problem? Thanks for your time and best wishes

lizhenstat avatar Dec 29 '20 01:12 lizhenstat

Hi! The definition for enc_dec_84_atari can be seen here https://github.com/sjoerdvansteenkiste/Relational-NEM/blob/8a7d0b2620160c009cd3b2cb04ef1dc802bf9144/network.py#L55

What version of sacred are you using? It seems to me that the issue is having multiple named configs being invoked for the network.

Sjoerd

sjoerdvansteenkiste avatar Jan 06 '21 11:01 sjoerdvansteenkiste