HRNet / HRNet-Object-Detection

Object detection with multi-level representations generated from deep high-resolution representation learning (HRNetV2h). This is an official implementation for our TPAMI paper "Deep High-Resolution Representation Learning for Visual Recognition". https://arxiv.org/abs/1908.07919
Apache License 2.0
643 stars 98 forks source link

OSError: /hrnetv2_pretrained/faster_rcnn_hrnetv2p_w32_mstrain_syncbn_1x.pth is not a checkpoint file #32

Closed handsomefengfeng closed 4 years ago

handsomefengfeng commented 4 years ago

python -m torch.distributed.launch --nproc_per_node 4 tools/train.py configs/hrnet/faster_rcnn_hrnetv2p_w32_syncbn_mstrain_1x.py --launcher pytorch But the terminal output: OSError: /hrnetv2_pretrained/faster_rcnn_hrnetv2p_w32_mstrain_syncbn_1x.pth is not a checkpoint file

I also tried hrnetv2_w44_imagenet_pretrained.pth, it obtained the same error.

What should I do???? Thanks

wondervictor commented 4 years ago

OSError: /hrnetv2_pretrained/faster_rcnn_hrnetv2p_w32_mstrain_syncbn_1x.pth this is a root directory. ./hrnetv2_pretrained please.

handsomefengfeng commented 4 years ago

T T sry for such an idiot mistake thanks !!! I've replaced it with absolute path.