Comments (7)
I saw you were training on a custom dataset, what's the modification you made in the dataloader?
from pytorch_simple_centernet_45.
I changed:
line#15 --> COCO_NAMES = 6 classes of my dataset
line#29 --> COCO_IDS = [0, 1, 2, 3, 4, 5]
line#49 --> self.num_classes = 6
That's all the changes I made to coco.py.
from pytorch_simple_centernet_45.
I guess the data format of your dataset is not the same with COCO, you could train on COCO to see whether the error still occurs.
from pytorch_simple_centernet_45.
I noticed one thing is that the COCO_NAMES should have ['background'] infront. Mine doesn't. Let me try to modify my annotation files (7 classes total and IDS from 0 to 7) and see if the problem persists.
Thank you.
from pytorch_simple_centernet_45.
The issue has been solved after adding 'background' and having Ids from 1 to 7. Now I am facing this issue
I am using the default image size of 512 so it shouldn't be an issue mentioned in #19, right? I suggest it's the number of classes? This is because COCO has 80 and I'm having 7. Please advice. Thank you.
from pytorch_simple_centernet_45.
Oh, the hourglass model is created with default num_classes=80, you need to change the num_classes
in hourglass.py line #106.
def __init__(self, n, nstack, dims, modules, cnv_dim=256, num_classes=80):
from pytorch_simple_centernet_45.
@zzzxxxttt It is working fine now. Thank you so much!
from pytorch_simple_centernet_45.
Related Issues (20)
- Illegal Instruction
- IndexError: index 14 is out of bounds for axis 0 with size 2 HOT 4
- 想要指定4,5,6,7这几张GPU进行训练该怎么设置 HOT 4
- cuda error
- 验证时,输出的结果都是-1 HOT 5
- IndexError: index 100 is out of bounds for axis 0 with size 100 HOT 2
- CornerNet pretrained weights HOT 5
- Result Extraction HOT 9
- dla_dcn没有实现吗?
- 为什么我使用代码训练的时候得不到预期结果.... HOT 5
- 为什么test阶段需要nms? HOT 2
- 大佬,我在用运行demo.py文件时,跑不通,训练跟测试都跑通了,
- Why I can't achieve the given mAP after retraining by following the steps?
- How can't I get the Theoretical performance
- No such file or directory: './data/voc/VOCdevkit/VOC2007/annotations_cache' HOT 1
- 加载预训练模型出错 HOT 2
- FPS
- v1.7的Pytorch如何实现DistributedDataParallel training? HOT 1
- RuntimeError: cublas runtime error : the GPU program failed to execute at /opt/conda/conda-bld/pytorch_1556653215914/work/aten/src/THC/THCBlas.cu:425
- 楼主您好,训练好的 hourglass-104 39.9mAP的模型能共享一下吗? 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 pytorch_simple_centernet_45.