When I am running the training script ./tools/dist_train.sh configs/cascade_rcnn_r50_fpn_1x.py 1 on a single GPU for PASCAL VOC 2007 dataset, I get the following error:
Traceback (most recent call last):
File "./tools/train.py", line 81, in <module>
main()
File "./tools/train.py", line 60, in main
logger = get_root_logger(cfg.log_level)
File "/ssd_scratch/cvit/aditya/mmdetection/mmdet/apis/env.py", line 54, in get_root_logger
rank, _ = get_dist_info()
File "/home/aditya.a/Libraries/anaconda3/lib/python3.7/site-packages/mmcv/runner/utils.py", line 16, in get_dist_info
if dist._initialized:
AttributeError: module 'torch.distributed' has no attribute '_initialized'
I get the same error when I run python tools/train.py configs/cascade_rcnn_r50_fpn_1x.py --gpus 1 --validate
I am not sure what the issue is. Following are the additional details:
Pytorch: 1.0.0.dev20181129
I have used pascal_voc.py to convert PASCAL VOC annotations to CustomDataset annotatios.The annotations are kept in data/voc2007/Annotations folder, and the images are symlinked at data/voc2007/Images.
Hi,
When I am running the training script
./tools/dist_train.sh configs/cascade_rcnn_r50_fpn_1x.py 1
on a single GPU for PASCAL VOC 2007 dataset, I get the following error:I get the same error when I run
python tools/train.py configs/cascade_rcnn_r50_fpn_1x.py --gpus 1 --validate
I am not sure what the issue is. Following are the additional details:
Pytorch:
1.0.0.dev20181129
I have used pascal_voc.py to convert PASCAL VOC annotations to CustomDataset annotatios.The annotations are kept in
data/voc2007/Annotations
folder, and the images are symlinked atdata/voc2007/Images
.Here is the config file I am using: