Closed Altriaex closed 2 years ago
Yes, I think this broke in one of the recent commits, removing the one from the batch_rl.baselines.train
should work.
Edit: Actually, @Altriaex I am unsure where is dopamine.discrete_domains.train
is imported from as batch_rl.baselines.train
only imports dopamine.discrete_domains.run_experiment
and not the train config.
I found that dopamine.discrete_domains.train is being imported in line 26 of atari_init_test.py. I commented it out and I was able to run the test, though it skipped the last test.
This was fixed in one of the recent commits.
MWE: pip install domaine-rl git clone https://github.com/google-research/batch_rl.git cd batch_rl python -um batch_rl.tests.atari_init_teste
This test raises: absl.flags._exceptions.DuplicateFlagError: The flag 'base_dir' is defined twice. First from batch_rl.baselines.train, Second from dopamine.discrete_domains.train. Description from first occurrence: Base directory to host all required sub-directories.
And I do find the two definitions.