GYE19970220

Results 3 issues of GYE19970220

请问各位前辈,训练成功了,测试时报错: `imgs = sorted(imgs, key=lambda x: int(x.split('.')[-2].split('/')[-1]))` `ValueError: invalid literal for int() with base 10: 'test1\\1'` 是什么意思?

小弟只有一事不明,在第37行(后面打了好多问号那一行)为什么可以直接调用DefaultConfig类中根本没有device属性,为什么这里可以调用呢????????????而且类里面也没有opt这个东西啊,只是在类外面声明了这个对象,咋就可以在类里面用呢? `# coding:utf8 import warnings import torch as t class DefaultConfig(object): env = 'default' # visdom 环境 vis_port =8097 # visdom 端口 model = 'AlexNet' # 使用的模型,名字必须与models/__init__.py中的名字一致 train_data_root = './data/train/'...

when I run your code,it report an error that `terminate called after throwing an instance of 'c10::Error' what(): Must not create a new variable from a variable, use its .data()`.It...