We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09b8e34 commit 46f8fc1Copy full SHA for 46f8fc1
test.py
@@ -250,7 +250,7 @@ def test(data,
250
# Save JSON
251
if save_json and len(jdict):
252
w = Path(weights[0] if isinstance(weights, list) else weights).stem if weights is not None else '' # weights
253
- anno_json = '../coco/annotations/instances_val2017.json' # annotations json
+ anno_json = './coco/annotations/instances_val2017.json' # annotations json
254
pred_json = str(save_dir / f"{w}_predictions.json") # predictions json
255
print('\nEvaluating pycocotools mAP... saving %s...' % pred_json)
256
with open(pred_json, 'w') as f:
0 commit comments