Comments (2)
😃 Fixed!
Apparently, the solution on the article was right. But for some reason, when I edit on Colab and save, it doesn't actually get saved. So I had to already have changed coco_eval.py
before I even cloned it on my Colab runtime.
I basically did the same thing, but this time I downloaded the training scripts from PyTorch and created my own repository to clone:
- Download the scripts from pytorch/vision/references/detection and created my own repo storing it
- Open
coco_eval.py
- Edit the lines somewhere under
__init__
for iou_type in iou_types:
- self.coco_eval[iou_type] = COCOeval(coco_gt, iouType=iou_type) + coco_eval = COCOeval(coco_gt, iouType=iou_type) + coco_eval.params.kpt_oks_sigmas = np.array([.5, .5, .5, .5]) / 10.0 # 4 keypoints + self.coco_eval[iou_type] = coco_eval
- At the start of the Training Notebook:
!git clone https://github.com/<username>/<repo-name>.git %cd <repo-name>
from keypoint_rcnn_training_pytorch.
Thanks, man. I've been struggling with this error. Apparently, making direct changes to the file in Colab doesn't update it. weird.
from keypoint_rcnn_training_pytorch.
Related Issues (19)
- labeling tool HOT 2
- How to load the Custom Trained Model for Inference on new Image set
- Can the annotations include "keypoints" without "bboxes"?
- Name of annotation format and/or converter to COCO?
- Training on dataset which also contain images without annotations gives error.
- Licence Addition Request HOT 1
- Training on multi classes HOT 3
- Results do not correspond to current coco set HOT 1
- .pth to .pt torch script conversion support of your model in mobile applications
- AttributeError: module 'albumentations' has no attribute 'Sequentials' HOT 7
- Inference speed of the model is slow
- How to train my own dataset? HOT 11
- Training on custom dataset HOT 3
- Which label tool i have to use for custom dataset preparation ? HOT 1
- I met this error when train with this code. HOT 1
- I met a error when train with this code.
- training error HOT 4
- glue_tubes_keypoints_dataset_134imgs annotations json file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keypoint_rcnn_training_pytorch.