1. ERROR : assert win is not None, 'Must define a window to update' AssertionError: Must define a wind(train.py中修改)
上图是修改完后的样子,将这段函数上面代码中的epoch+=1挪到 “if args.visdom:" 函数下,并把update_vis_plot括号中的内容替换成图片中的内容,问题解决,具体可参考https://github.com/amdegroot/ssd.pytorch/issues/234
2. VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
/home/bb622/ssd.pytorch-master/utils/augmentations.py:239: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarray