Closed avandekleut closed 4 years ago
I have the same problem.
It looks like you are using a newer hydra version. I would guess it is 1.*? The version that I was used for this project was '0.11.3', try to install this version? If this doesn't work I can modify the code to work with the newer version.
It looks like we just need to replace this line: https://github.com/denisyarats/drq/blob/master/train.py#L170 with this
@hydra.main(config_name="config")
Could you try to do that and let me know if that works?
I replace config_path=config.yaml
with config_name=config
, but there is another problem. The doc say 'Hydra 1.0.0 is deprecating ObjectConf and the corresponding config structure to a simpler one without the params node'. It seems that more code should be modified.
Ok, I will investigate and get back to you.
On Fri, Sep 11, 2020 at 8:45 AM Alex notifications@github.com wrote:
I replace config_path=config.yaml with config_name=config, but there is another problem. The doc say 'Hydra 1.0.0 is deprecating ObjectConf and the corresponding config structure to a simpler one without the params node'. It seems that more code should be modified.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/denisyarats/drq/issues/11#issuecomment-691138379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZYO4HNZ3OMGRKZ5PUOLODSFIZXTANCNFSM4RGOA5AQ .
I was able to get it to run by installing Hydra 0.11 directly from the GitHub repo's branch, like so:
pip install git+git://github.com/facebookresearch/hydra@0.11_branch
I also had to change "cuda" to "cpu" in config since I was testing on my MacBook.
Awesome, could you please push an update to conda_env.yaml to make sure it installs 0.11 version and create a PR?
On Fri, Sep 11, 2020 at 5:28 PM Alexander Van de Kleut < notifications@github.com> wrote:
I was able to get it to run by installing Hydra 0.11 directly from the GitHub repo's branch, like so:
pip install git+git://github.com/facebookresearch/hydra@0.11_branch
I also had to change "cuda" to "cpu" in config since I was testing on my MacBook.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/denisyarats/drq/issues/11#issuecomment-691353090, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZYO4F4PCDL3EZDHZUG6ZDSFKXCZANCNFSM4RGOA5AQ .
Closing issue due to merged pull request.
Due you want me to make a pull request for a version of the code with hydra dependencies removed?
Sure, that would be nice!
On Mon, Sep 21, 2020 at 3:50 PM Alexander Van de Kleut < notifications@github.com> wrote:
Due you want me to make a pull request for a version of the code with hydra dependencies removed?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/denisyarats/drq/issues/11#issuecomment-696335028, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZYO4H6U73J77TTZVXHBITSG6VAHANCNFSM4RGOA5AQ .
After following the installation instructions, I run into a problem with Hydra:
I have looked through the stack trace and am not sufficiently familiar with Hydra or OmniConf to decipher what is actually causing the issue. Maybe we have different versions for the packages that got installed from the
conda_env.yml
file?