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

NotImplementedError HELP PLEASE! #44

Open
Crawlling opened this issue Oct 9, 2022 · 0 comments
Open

NotImplementedError HELP PLEASE! #44

Crawlling opened this issue Oct 9, 2022 · 0 comments

Comments

@Crawlling
Copy link

when i use this pretrained model as my change-detection model's backbone,i will get this error,31B,31L,XL,all got this,this's my runtime error,it seems like forward got problem?

Traceback (most recent call last):
File "training.py", line 249, in
run()
File "training.py", line 233, in run
train(
File "training.py", line 169, in train
training_phase(epc)
File "training.py", line 108, in training_phase
it_loss = evaluate(reference, testimg, mask)
File "training.py", line 83, in evaluate
generated_mask = model(reference, testimg).squeeze(1)
File "C:\Anaconda3\envs\TinyCD\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "D:\test\Tiny_model_4_CD\models\change_classifier.py", line 63, in forward
features = self._encode(ref, test)
File "D:\test\Tiny_model_4_CD\models\change_classifier.py", line 70, in _encode
ref, test = layer(ref), layer(test)
File "C:\Anaconda3\envs\TinyCD\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Anaconda3\envs\TinyCD\lib\site-packages\torch\nn\modules\module.py", line 201, in _forward_unimplemented
raise NotImplementedError
NotImplementedError

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