I want to learn the model with my custom data, but at this time I knew I needed a COCO data format. In coco_spec.json, there is a place where I write the path of the mask file. Now I just have my own image file, then do I have to make the mask images and annotation to train the bodyposenet model?
(I want to know which annotation(json) should be changed when learning the bodyposenet model by my custom data. The sample COCO dataset training was completed normaly.)
I just make my custom_data_keypoint.json through that reference but the error occurs when I generate segmentation masks and tfrecords from annotations in the bpnet.ipynb
I think my path in custom_spec.json is defined in ~/.tao_mounts.json because I just change the file_name like this.
(changed images_root_dir_path, mask_root_dir_path, and annotation_root_dir_path)
Thanks to your help, I succeeded in creating tfrecords.
However, now I have another problem. In above image, the code answered they made a mask file but I cannot find masked images in my path. I checked if the path is wrong, but the path is correct. There is no file in a folder. Is it because there is a problem with my keypoint annotation?