Question about Classes Index
See original GitHub issueThank you for sharing this great work! I have a question about your classes index. YoutubeVIS has 40 classes and a empty class is involved in VisTR, thus 41 classes in total, right? Then I noticed that in your implementation, the loss_labels() is computed by
target_classes = torch.full(src_logits.shape[:2], self.num_classes, dtype=torch.int64, device=src_logits.device)
target_classes[idx] = target_classes_o
loss_ce = F.cross_entropy(src_logits.transpose(1, 2), target_classes, self.empty_weight)
Since ytvis’s class begins from 1 to 40 and I didn’t find any re-index operation in your code, I am confused by the empty class here. Do you use 40 represent empty class (you set self.num_classes=40)? Thank you
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Index of /question/classes/statistics/questions - ICSA Kuwait
Name Last modified Size
Parent Directory ‑
all_calculated_for_q..> 2019‑06‑20 11:43 19K
calculated.php 2019‑06‑20 11:43 8.7K
Read more >ClassQuestion - Conduct class polls and send questions to ...
Completely free for students and teachers! Send your class a question, instantly see the results as a plot. ClassQuestion is a clicker free...
Read more >Questions (Index Questions with Solutions) - Indices Questions
Index questions involve solving expressions with exponents and powers using some defined laws of indices. Click here to get solved questions on index...
Read more >Index of /question/classes/statistics - ACSI | eCampus
Index of /question/classes/statistics. Name · Last modified · Size · Description · Parent Directory, -. questions/, 2019-09-27 03:12, -.
Read more >C. Item Analysis - Florida Center for Instructional Technology
Determine the Difficulty Index by dividing the number who got it correct by the total number of students. For Question #1, this would...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @lxa9867, thanks for your question, I fixed the bug and changed the class number to 41, the result improves from 0.38 to 0.40, I will update the code and result later.
hi @lxa9867, I have fixed the bug and updated the code and result.