question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTC customize data training bugs

See original GitHub issue

I am using HTC model with customize dataset and get this error (mycode running on Gooble Colab and install mmdet with openmim). Please tell me how to fix this. Thanks RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [2, 256, 100, 136]], which is output 0 of ReluBackward0, is at version 4; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
jaideep11061982commented, Dec 4, 2021

@AndreaPi num_classes=183 FusedSemanticHead num_classes=80- Shared2FCBBoxHead/HTCMaskHead

i cant relate these in standard coco.

0reactions
AndreaPicommented, Nov 22, 2021

@AndreaPi each image have one kind of object and background, so num_classes in FusedSemanticHead is 3+1=4. Is this correct?

I don’t understand: “each image has one kind of object and background”, so how do you get to 3? Wouldn’t that be 1+1?Anyway, I don’t use COCOstuff data, so I can’t help you out here. If I were in you, I’d have a look at these two config files:

https://github.com/open-mmlab/mmdetection/blob/master/configs/htc/htc_without_semantic_r50_fpn_1x_coco.py https://github.com/open-mmlab/mmdetection/blob/master/configs/htc/htc_r50_fpn_1x_coco.py

note down the number of classes resp. for the Shared2FCBBoxHead/HTCMaskHead and for the FusedSemanticHead, and compare these numbers with the number of classes in the COCO & COCOstuff datasets, in order to understand how to set these numbers in your config file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTC customize data training bugs · Issue #6556 - GitHub
Checklist I have searched related issues but cannot get the expected help. ... HTC customize data training bugs #6556.
Read more >
VR Training Lab Setup & Troubleshooting Guide for HTC Vive ...
This guide will explain how to set up the Vive and troubleshoot common errors while deploying VR training at the enterprise level.
Read more >
HTC User Guide - Pitt CRC - University of Pittsburgh
This cluster is designed to remotely run high throughput computing jobs, with particular emphasis on supporting bioinformatics and health science research. With ...
Read more >
Your HTC Vivid
An empty Home screen appears and you can start customizing from there. 19. Getting started ... HTC Vivid uses these storage types: Apps...
Read more >
SYSTEMS FOR COLLECTING AND ANALYSING ROUTINE ...
3SYSTEMS FOR COLLECTING AND ANALYSING ROUTINE MONITORING DATA FOR M&E OF HTC. Go to: 3.1. Collection systems for routine monitoring purposes. An M&E...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found