Closed gerardoalfredo2 closed 3 years ago
Hi, are you on master branch of MMF? When I tested it works for me without any error.
No, I'm participating in the hateMeme challenge and I found that issue when I try to run any of the models.
I believe the problem is happening because @gerardoalfredo2 is on a windows system which would require specifying config as config=projects\hateful_memes\configs\mmbt\defaults.yaml
. Since currently, it is specified in unix filesystem format, it is not picking it up.
I found out that the problem is with the configuration paths in the reference documents. I changed the command to:
mmf_run config=projects/mmbt/configs/hateful_memes/defaults.yaml run_type=train_val dataset=hateful_memes model=mmbt
and now everything is working fine.
@gerardoalfredo2 Great catch. This specifically happens because those paths are symbolic links and don't get cloned as it is. You have to -c core.symlinks=True
to the git command to get those symlinks on Windows. There is a good discussion in https://stackoverflow.com/questions/11662868/what-happens-when-i-clone-a-repository-with-symlinks-on-windows. We have plans to get rid of these symlinks and we will prioritize that now.
❓ Questions and Help
When I try to run any of the examples to train the models im receiving some messages about some configuration for the optimizers.
If I run the next CLI command:
I have the next warning on return after the model is loaded:
I was trying to figure out how to set up these parameters but I can't find an example.