Empty supp_dict (image_classification.py) #144
Unanswered
andreamigliorati
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Can you share your yaml file here? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes of course, here it is. Thanks for the help, again apologies in advance if I'm asking something trivial but I just can't seem to make it work for now. |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hi, I want to perform image classification and train my own models, I added the train keys to the config file to do that. However I have a problem with the
train_one_epoch
method. When computing the loss (loss = training_box(sample_batch, targets, supp_dict)
) I get an error which appears to be caused by an emptysupp_dict
.Before being called in
loss = training_box(sample_batch, targets, supp_dict)
,supp_dict
is created here:which in my case gives an empty
supp_dict
, and therefore a missing key (KeyError: 'backbone.bottleneck_layer'
). I am launching my training withbash script/neural_input_compression/ilsvrc2012-image_classification.sh factorized_prior-resnet50 8
, and as mentioned I created a train key in the config file so I am not sure what I'm doing wrong. Thanks in advance!Beta Was this translation helpful? Give feedback.
All reactions