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: 'backbone.stem.stem1.conv.weight'.有朋友知道这是为什么吗 #144

Open
BroSharon opened this issue Jan 14, 2025 · 0 comments

Comments

@BroSharon
Copy link

[rank1]: Traceback (most recent call last):
[rank1]: File "train.py", line 85, in
[rank1]: main(args)
[rank1]: File "train.py", line 54, in main
[rank1]: solver.fit()
[rank1]: File "/home/D-FINE-master/src/solver/det_solver.py", line 46, in fit
[rank1]: train_stats = train_one_epoch(
[rank1]: File "/home/D-FINE-master/src/solver/det_engine.py", line 91, in train_one_epoch
[rank1]: ema.update(model)
[rank1]: File "/home/D-FINE-master/src/optim/ema.py", line 66, in update
[rank1]: v += (1 - d) * msd[k].detach()
[rank1]: KeyError: 'backbone.stem.stem1.conv.weight'
[rank0]: Traceback (most recent call last):
[rank0]: File "train.py", line 85, in
[rank0]: main(args)
[rank0]: File "train.py", line 54, in main
[rank0]: solver.fit()
[rank0]: File "/home/D-FINE-master/src/solver/det_solver.py", line 46, in fit
[rank0]: train_stats = train_one_epoch(
[rank0]: File "/home/D-FINE-master/src/solver/det_engine.py", line 91, in train_one_epoch
[rank0]: ema.update(model)
[rank0]: File "/home//-FINE-master/src/optim/ema.py", line 66, in update
[rank0]: v += (1 - d) * msd[k].detach()
[rank0]: KeyError: 'backbone.stem.stem1.conv.weight'

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