abedidev / ResNet-TCN

40 stars 12 forks source link

Variable definitions in train.py #2

Closed Sidney2408 closed 3 years ago

Sidney2408 commented 3 years ago

Hi there, I tried running your code on the DAISEE dataset, and I cannot help but notice a few variables that are not defined: In train.py

  1. Traceback (most recent call last): File "train.py", line 95, in writeUnNormalize(inputs, phase) File "train.py", line 40, in writeUnNormalize cv2.imwrite(os.path.join(images, 'images' + phase, 'image' + str(i) + '.png'), image) NameError: name 'images' is not defined

  2. Traceback (most recent call last): File "train.py", line 15, in import transforms_train ModuleNotFoundError: No module named 'transforms_train'

  3. Traceback (most recent call last): File "train.py", line 83, in root), NameError: name 'root' is not defined

  4. Traceback (most recent call last): File "train.py", line 81, in os.path.join(data_path, 'train.csv'), NameError: name 'data_path' is not defined

abedidev commented 3 years ago

Hi, Please run the modified version in which all the variables have been defined.