deeptennis
deeptennis copied to clipboard
missing model
when executing the example command
make data/interim/tracking_videos/federer_cilic_aus_18\
FPS=1\
VFRAMES=100\
MODEL_PATH=https://deeptennis.s3-us-west-1.amazonaws.com/player_kprcnn_res50_fpn.tar.gz
It gives back:
FileNotFoundError: file /home/sethah/ssd/deeptennis/models/tennis_rpn4 not found
Which seems to be a misconfiguration as this seems to be your personal file structure. I get infos printed looking like
2020-03-12 18:34:22,525 - INFO - allennlp.common.from_params - instantiating class
<class 'allencv.models.object_detection.keypoint_rcnn.KeypointRCNN'> from params
{
'num_keypoints': 4,
'rpn': {
'archive_file': '/home/sethah/ssd/deeptennis/models/tennis_rpn4',
'requires_grad': True,
'type': 'pretrained_rpn'
},
'roi_keypoint_head': {
'feature_extractor': {
'activations': 'relu',
'hidden_channels': 512,
'input_channels': 256,
'num_layers': 5,
'type': 'feedforward'
}
},
'train_rpn': True,
'roi_box_head': {
'decoder_nms_thresh': 0.2,
'feature_extractor': {
'feedforward': {
'activations': 'relu',
'hidden_dims': [256, 256],
'input_dim': 12544,
'num_layers': 2
},
'input_channels': 256,
'input_height': 7,
'input_width': 7,
'type': 'flatten'
},
'decoder_thresh': 0.01
}
} and extras {'vocab'}
Maybe this will help you figuring this out.