Update main.py
Browse files
main.py
CHANGED
@@ -113,7 +113,7 @@ if __name__ == '__main__':
|
|
113 |
prob = CONFIG.DATA.EVAL.transition_probs[0]
|
114 |
loss_percent = (1 - prob[0]) / (2 - prob[0] - prob[1]) * 100
|
115 |
print('Evaluate with real trace' if masking == 'real' else
|
116 |
-
'Evaluate with generated trace with {:.2f}% packet loss'.format(
|
117 |
elif args.mode == 'test':
|
118 |
model.cuda(device=0)
|
119 |
testset = BlindTestLoader(test_dir=CONFIG.TEST.in_dir)
|
|
|
113 |
prob = CONFIG.DATA.EVAL.transition_probs[0]
|
114 |
loss_percent = (1 - prob[0]) / (2 - prob[0] - prob[1]) * 100
|
115 |
print('Evaluate with real trace' if masking == 'real' else
|
116 |
+
'Evaluate with generated trace with {:.2f}% packet loss'.format(loss_percent))
|
117 |
elif args.mode == 'test':
|
118 |
model.cuda(device=0)
|
119 |
testset = BlindTestLoader(test_dir=CONFIG.TEST.in_dir)
|