MiniBullLab / easy_ai

3 stars 1 forks source link

Denet训练报错 #112

Closed foww-0001 closed 3 years ago

foww-0001 commented 3 years ago
/home/wfw/workspace/EDGE/edgeENV/lib/python3.6/site-packages/torch/nn/modules/upsampling.py:129: UserWarning: nn.Upsample is deprecated. Use nn.functional.interpolate instead.
  warnings.warn("nn.{} is deprecated. Use nn.functional.interpolate instead.".format(self.name))
Epoch: 0[0/1]    Loss: 43858.5703125     Rate: 0.0000000     Time: 1.62889  
2021-07-02 16:52:05,945 ERROR   [train_task.py, 41] Traceback (most recent call last):
  File "/home/wfw/workspace/easy_ai/easyai/train_task.py", line 38, in train
    task.train(self.train_path, self.val_path)
  File "/home/wfw/workspace/easy_ai/easyai/tasks/det2d/detect2d_train.py", line 43, in train
    self.test(val_path, epoch, save_model_path)
  File "/home/wfw/workspace/easy_ai/easyai/tasks/det2d/detect2d_train.py", line 97, in test
    self.classify_test.create_dataloader(val_path)
AttributeError: 'Detection2dTrain' object has no attribute 'classify_test'

2021-07-02 16:52:05,946 ERROR   [train_task.py, 42] 'Detection2dTrain' object has no attribute 'classify_test'
lpj0822 commented 3 years ago

已修改