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

KeyError: 'multi_scale_loss' on training the backbone #13

Open
hachreak opened this issue Jun 26, 2023 · 0 comments
Open

KeyError: 'multi_scale_loss' on training the backbone #13

hachreak opened this issue Jun 26, 2023 · 0 comments

Comments

@hachreak
Copy link

Hi @wgcban ,
thank you very much to publish the code for the paper!

I was trying to train the backbone (first stage):

python train.py --config configs/config_HSIT_PRE.json

But, the training script is raising an error:

Traceback (most recent call last):
  File "train.py", line 346, in <module>
    train(epoch)
  File "train.py", line 198, in train
    if config[config["train_dataset"]]["multi_scale_loss"]:
KeyError: 'multi_scale_loss'

Is the configuration value for multi_scale_loss missing?
Which value do I need to set?
Thanks for your help! :D

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

1 participant