Comments (6)
I think you are right.
But, if you set num_classes to 1 you should change
Line 73 in be066df
this line to 0.
Because, the last class is designed for no-object category.
from up-detr.
I think you are right. But, if you set num_classes to 1 you should change
Line 73 in be066df
this line to 0.
Because, the last class is designed for no-object category.
Thanks for your reply!
If the num_classes is set to 1, this means that the label-0 represents the object class and the label-1 represents the non-object category in the classification cost?
from up-detr.
Yes. So, in our code, label-0 is never used.
from up-detr.
Yes. So, in our code, label-0 is never used.
Hi, I have also a confusion about the paper. There is a explanation in up-detr paper:
In this paper , label-1 represents the object category(matching). There are some differences between the code and the paper. I'm not sure when num_classes is set to 1, which one of label-0 and label-1 represents object category(matching)?
from up-detr.
I am sorry for the inconsistency.
In our paper, 0 represents no-obj, 1 represents obj.
In our code, 1 represents obj, 2 represents no-obj. (0 is nerver used, and there is 3 class num in total)
Line 40 in be066df
Check here for the loss calculation.
Lines 124 to 126 in be066df
If you set num classes to 1,
0 represents obj, 1 represents no-obj.
The last class always represents the no-obj in our code.
from up-detr.
I get it! Thank you very much!
from up-detr.
Related Issues (20)
- A blog about UP-DETR HOT 6
- Error in notebook while loading up-detr-coco-fine-tuned-300ep.pth HOT 2
- Some questions about your code HOT 5
- Questions about the multi-query patch model HOT 1
- bounding boxes shift problem
- How extract precision, recall and f1-score metrics HOT 1
- Code for VOC HOT 2
- detectiong objects HOT 1
- Class Loss HOT 2
- SWAV HOT 1
- Random Crop HOT 2
- How to support batch learning for one-shot object detection training? HOT 8
- Getting access to the one-shot object detection training code
- 请问如何在coco上预训练?
- backbone的build时会构建position embeding,需要用到nestedtensor的mask,请问输入tensor类型的patch不会报错吗
- 请问是否可以开源one-shot部分的训练代码
- Unexpected key(s) in state_dict: "feature_align.layers.0.weight", "feature_align.layers.0.bias", "feature_align.layers.1.weight", "feature_align.layers.1.bias", "patch2query.weight", "patch2query.bias". HOT 1
- 请问微调300个epoch能收敛吗?为什么我在自己数据集微调了600个批次都收敛不了 HOT 1
- _IncompatibleKeys 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 up-detr.