Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error merging 'config' with schema Key 'exp_dir' not in 'FairseqConfig' full_key: exp_dir object_type=FairseqConfig "Problem #40

Closed
Feiyunobug opened this issue Oct 1, 2024 · 3 comments

Comments

@Feiyunobug
Copy link

Hello,

While running the training code, I encountered the following error:

python train.py
exp_dir="/root/autodl-tmp/pth/"
exp_name="gaofeiPTH"
data.modality="video"
data.dataset.root_dir="/root/autodl-tmp/auto_avsr"
data.dataset.train_file="train_cstm.csv"

sys:1: UserWarning:
'config' is validated against ConfigStore schema with the same name.
This behavior is deprecated in Hydra 1.1 and will be removed in Hydra 1.2.
See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/automatic_schema_matching for migration instructions.
/root/miniconda3/lib/python3.8/site-packages/hydra/main.py:94: UserWarning:
'config' is validated against ConfigStore schema with the same name.
This behavior is deprecated in Hydra 1.1 and will be removed in Hydra 1.2.
See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/automatic_schema_matching for migration instructions.
_run_hydra(
Error merging 'config' with schema
Key 'exp_dir' not in 'FairseqConfig'
full_key: exp_dir
object_type=FairseqConfig
I was wondering if you have come across a similar issue before. Could this be caused by a version conflict between fairseq, hydra-core, and omegaconf? My package versions are:

hydra-core==1.3.2
omegaconf==2.3.0
fairseq==0.12.2
If you have any insights, I would really appreciate your help in understanding what might be causing this problem.

Thank you in advance for your time and assistance.

@SajjadAemmi
Copy link

@Feiyunobug How did you fix it?

@NikitaBigHead
Copy link

#3

@Feiyunobug
Copy link
Author

Feiyunobug commented Dec 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants