Comments (2)
This issue generally occurs as an error that interrupts the training code after running for a period of time. Although I searched on GitHub and found some people encountering the same problem, there were no useful results to refer to. I suspected that there might be a problem with my own dataset. However, my dataset can run smoothly on mmdetection. Meanwhile, the error occurred in the file detectron2/structures/masks.py. So I investigated the masks.py in both mmdetection and detectron2, and indeed found that the statement "assert len(polygons) > 0, "COCOAPI does not support empty polygons"" was not present in mmdetection and detectron2. Instead, it was replaced by other statements in mmdetection and detectron2. After replacing the statement with the corresponding one from mmdetection and detectron2, the error no longer occurred, and the training proceeded smoothly.
first u should comment the following code,then add new codes in following picture
#assert len(polygons) > 0, "COCOAPI does not support empty polygons" #To comment out this line
from transfiner.
Hello, Do you solve the problem?
from transfiner.
Related Issues (20)
- Could you wirte a document about how to fine-tune your pre-trianed weight plz? HOT 4
- Strange visualization result. HOT 1
- how to export trained weights to onnx HOT 1
- Asking for code component HOT 3
- Question about segmentation fault HOT 1
- CUDA out of memory HOT 5
- RuntimeError: torch.nn.functional.binary_cross_entropy and torch.nn.BCELoss are unsafe to autocast HOT 2
- how to generate a polygon label for "polygons in polygons" HOT 1
- Visual error HOT 1
- ImportError: DLL load failed: The specified module cannot be found. HOT 1
- ImportError: cannot import name 'Caffe2Tracer' from 'detectron2.export' HOT 1
- compile fail HOT 1
- if i have a few hundred images to do , will it run on small dataset ? I mean can I train it on small dataset? Thank you for your amazing work HOT 1
- model questions HOT 2
- How to contribute?
- semi-supervised learning HOT 1
- Does the model support exporting onnx?
- What kind of Feature fusion operation does RoI Feature and Coarse Masks do?
- bdd100k support
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 transfiner.