FastMaskRCNN
FastMaskRCNN copied to clipboard
HELP download_and_convert_data.py
There some errors when I run the download_and_convert_data.py. .................. File "libs/datasets/pycocotools/coco.py", line 79, in init dataset = json.load(open(annotation_file, 'r')) IOError: [Errno 2] No such file or directory: 'data/coco/annotations/instances_train2014.json'
I am a new man to python. I need help. Thanks very much. By the way, I also do not know how to organize the coco data.
Extract
- captions_train-val2014.zip
- instances_train-val2014.zip
- person_keypoints_trainval2014.zip
- train2014.zip
- val2014.zip
Final folder structure should look like this: data/ ----coco --------annotations ------------captions_train2014.json ------------captions_val2014.json ------------instances_train2014.json ------------instances_val2014.json ------------person_keypoints_train2014.json ------------person_keypoints_val2014.json --------records --------train2014 --------val2014
Also in FastMaskRCNN: mkdir -p output/mask_rcnn
Modified script: maskRCNN.sh.zip
Thanks very very much. Your are so kindly. *LEI
*李磊
发件人: Abhishek Rana 发送时间: 2017年5月24日 23:49 收件人: CharlesShang/FastMaskRCNN 抄送: DaXika; Author 主题: Re: [CharlesShang/FastMaskRCNN] HELP download_and_convert_data.py(#63)
Extract
- captions_train-val2014.zip
- instances_train-val2014.zip
- person_keypoints_trainval2014.zip
- train2014.zip
- val2014.zip Final folder structure should look like this: data/ ├── coco │ ├── annotations │ ├── captions_train2014.json │ ├── captions_val2014.json │ ├── instances_train2014.json │ ├── instances_val2014.json │ ├── person_keypoints_train2014.json │ └── person_keypoints_val2014.json │ ├── records │ ├── train2014 │ └── val2014 Also in FastMaskRCNN: mkdir -p output/mask_rcnn Modified script: maskRCNN.sh.zip — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Maybe this would be a better description to be put into the README ? @CharlesShang
I met the same issue,how did you solved? Thanks very much!
I think its ok.
发自网易邮箱大师
On 06/30/2017 19:09,Wenzhen[email protected] wrote:
When I run python download_and_convert_data.py to build tf-records, I got these result, it always says "None Annotations ..." is this normal?
Converting image 1/82783 shard 0 None Annotations data/coco/train2014/COCO_train2014_000000262184.jpg None Annotations data/coco/train2014/COCO_train2014_000000362257.jpg Converting image 51/82783 shard 0 Gray Image 86 Converting image 101/82783 shard 0 Converting image 151/82783 shard 0 None Annotations data/coco/train2014/COCO_train2014_000000000250.jpg Gray Image 131366 Converting image 201/82783 shard 0 Converting image 251/82783 shard 0 Converting image 301/82783 shard 0 None Annotations data/coco/train2014/COCO_train2014_000000262623.jpg None Annotations data/coco/train2014/COCO_train2014_000000000508.jpg
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
i have the same question, can you give me the json files ?thx~ or ... maybe that`s something wrong with my operator?