You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python train.py --structure drn_d_22 --dataset_path /data/CamVid --cuda True
报错如下:请问我该怎么办
RuntimeError: weight tensor should be defined either for all 512 classes or no classes but got weight tensor of shape: [12] at /opt/conda/conda-bld/pytorch_1579022034529/work/aten/src/THCUNN/generic/ClassNLLCriterion.cu:42
The text was updated successfully, but these errors were encountered:
python train.py --structure drn_d_22 --dataset_path /data/CamVid --cuda True
报错如下:请问我该怎么办
RuntimeError: weight tensor should be defined either for all 512 classes or no classes but got weight tensor of shape: [12] at /opt/conda/conda-bld/pytorch_1579022034529/work/aten/src/THCUNN/generic/ClassNLLCriterion.cu:42
The text was updated successfully, but these errors were encountered: