AtlasNetV2 icon indicating copy to clipboard operation
AtlasNetV2 copied to clipboard

Two bugs when running train.py

Open Yuzuki-N opened this issue 3 years ago • 0 comments

First bug is

Traceback (most recent call last):
  File "training/train.py", line 140, in <module>
    visdom = visdom.Visdom(env=opt.training_id, port=8888)
TypeError: __init__() got an unexpected keyword argument 'env'

and I delete env=opt.training_id, then i re-run this code. And Second bug is

Traceback (most recent call last):
  File "training/train.py", line 209, in <module>
    color =  [[125,125,125]]*(batch.size(1))
NameError: name 'batch' is not defined

Yuzuki-N avatar Aug 19 '21 07:08 Yuzuki-N