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

hydra.errors.OverrideParseException: mismatched input '=' expecting <EOF> #38

Open
Cello2195 opened this issue Oct 10, 2024 · 1 comment

Comments

@Cello2195
Copy link

When I was running fine_tune.sh, I came across the error "hydra.errors.OverrideParseException: mismatched input '=' expecting ". My shell file is as below:

#!/bin/bash

export HYDRA_FULL_ERROR=1

python -m molbart.fine_tune
datamodule=[molbart.data.seq2seq_data.Uspto50DataModule]
data_path=data/mol_opt.pickle
model_path=models/mask/step=1000000.ckpt
vocabulary_path=bart_vocab_downstream.json
task=backward_prediction
n_epochs=100
learning_rate=0.001
schedule=cycle
batch_size=64
acc_batches=4
augmentation_probability=0.5

@anniewesterlund
Copy link
Collaborator

anniewesterlund commented Oct 11, 2024

The reason is likely because there is an equal sign in you model_path. Instead of writing
model_path=models/mask/step=1000000.ckpt, you can try
'model_path=models/mask/step\=1000000.ckpt'

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

2 participants