Spaces:
Runtime error
Runtime error
Update TEED/main.py
Browse files- TEED/main.py +1 -1
TEED/main.py
CHANGED
|
@@ -366,7 +366,7 @@ def main(args, train_inf):
|
|
| 366 |
training_dir = os.path.join(args.output_dir,args.train_data)
|
| 367 |
os.makedirs(training_dir,exist_ok=True)
|
| 368 |
checkpoint_path = './TEED/checkpoints/BIPED/5/5_model.pth'
|
| 369 |
-
checkpoint_path = os.path.join('./TEED/checkpoints',
|
| 370 |
if args.tensorboard and not args.is_testing:
|
| 371 |
# from tensorboardX import SummaryWriter # previous torch version
|
| 372 |
from torch.utils.tensorboard import SummaryWriter # for torch 1.4 or greather
|
|
|
|
| 366 |
training_dir = os.path.join(args.output_dir,args.train_data)
|
| 367 |
os.makedirs(training_dir,exist_ok=True)
|
| 368 |
checkpoint_path = './TEED/checkpoints/BIPED/5/5_model.pth'
|
| 369 |
+
checkpoint_path = os.path.join('./TEED/checkpoints', 'BIPED', str(args.epoch), '5_model.pth')
|
| 370 |
if args.tensorboard and not args.is_testing:
|
| 371 |
# from tensorboardX import SummaryWriter # previous torch version
|
| 372 |
from torch.utils.tensorboard import SummaryWriter # for torch 1.4 or greather
|