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
AssertionError: Must define a window to update? why? #234
Comments
train on COCO dataset |
I'm getting the error on COCO dataset also. Any solution? |
line 163 update_vis_plot(epoch, loc_loss, conf_loss, iter_plot, epoch_plot, 'append', epoch_size) |
same error when training on VOC2007
|
@237014845 hi, you solved the problem by modifying this line: |
anyone solve the problem? |
@chanajianyu I have faced the same problem, and adjust the code as your point. It works, thx |
…ix bug amdegroot#234 for Visdom window display, remove redundant parameter in 'criterion', logging more info, fix PyTorch 0.4.0+ comatibility
@d-li14 According to your fix, it works, thx. |
iter 730 || Loss: 6.8846 || timer: 0.4548 sec. Process finished with exit code 1 Hello, does anyone know the reason? Thank you! |
i'm getting the same error with COCO set. |
@d-li14 |
Modify model loading and saving path, set 'viz' as global variable, fix bug amdegroot#234 for Visdom window display, remove redundant parameter in 'criterion', logging more info, fix PyTorch 0.4.0+ compatibility.
the num_class in config.py should +1 and in ssd.py are not |
It works,
gooood!! |
iter 2360 || Loss: 9.8369 || timer: 0.5007 sec.
iter 2370 || Loss: 9.9223 || timer: 0.4940 sec.
iter 2380 || Loss: 11.2484 || timer: 0.4787 sec.
iter 2390 || Loss: 10.6926 || timer: 0.4976 sec.
iter 2400 || Loss: 9.6664 || timer: 0.4990 sec.
iter 2410 || Loss: 10.5185 || timer: 0.5092 sec.
iter 2420 || Loss: 12.2446 || timer: 0.5129 sec.
iter 2430 || Loss: 12.2896 || timer: 0.4818 sec.
iter 2440 || Loss: 10.2730 || timer: 0.4859 sec.
iter 2450 || Loss: 10.4930 || timer: 0.5135 sec.
iter 2460 || Loss: 9.9998 || timer: 0.5068 sec.
iter 2470 || Loss: 11.2983 || timer: 0.5139 sec.
iter 2480 || Loss: 10.9896 || timer: 0.4783 sec.
iter 2490 || Loss: 9.8864 || timer: 0.5100 sec.
iter 2500 || Loss: 10.8051 || timer: 0.4982 sec.
iter 2510 || Loss: 10.4417 || timer: 0.4783 sec.
iter 2520 || Loss: 10.2917 || timer: 0.4758 sec.
iter 2530 || Loss: 10.9877 || timer: 0.4810 sec.
iter 2540 || Loss: 10.6649 || timer: 0.4757 sec.
iter 2550 || Loss: 10.9075 || timer: 0.4899 sec.
iter 2560 || Loss: 11.8318 || Traceback (most recent call last):
File "train.py", line 266, in
train()
File "train.py", line 159, in train
'append', epoch_size)
File "train.py", line 261, in update_vis_plot
update=True
File "/home/hs/anaconda3/lib/python3.6/site-packages/visdom/init.py", line 288, in wrapped_f
return f(*args, **kwargs)
File "/home/hs/anaconda3/lib/python3.6/site-packages/visdom/init.py", line 1207, in line
update=update, name=name)
File "/home/hs/anaconda3/lib/python3.6/site-packages/visdom/init.py", line 288, in wrapped_f
return f(*args, **kwargs)
File "/home/hs/anaconda3/lib/python3.6/site-packages/visdom/init.py", line 1010, in scatter
assert win is not None, 'Must define a window to update'
AssertionError: Must define a window to update
The text was updated successfully, but these errors were encountered: