We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82291a1 commit 949b1eeCopy full SHA for 949b1ee
train.py
@@ -72,6 +72,7 @@
72
scheduler.step(val_loss)
73
74
# Best mIoU를 가진 모델을 저장
75
+ os.makedirs('weights', exist_ok=True)
76
if miou > prev_miou:
77
torch.save(model.state_dict(), os.path.join('weights', '{}_best.pth'.format(config['model'])))
78
prev_miou = miou
0 commit comments