Comments (2)
Hi @yaoyaosanqi,
The model returns a dict
containing the losses during training, while during test it returns a list
of detections. The error loss_dict['interaction_loss'].isnan(): TypeError: list indices must be integers or slices, not str
suggests a list
has been returned during training.
I need to know what changes you made to the code to find the problem. Run git status
to find scripts that have been modified and look into the changes.
Fred.
from upt.
Following your suggestion, I checked the code and found that I commented out the training part when I was debugging before.
The issue was caused by my negligence. Already solved, thank you very much!
#if self.training:##$$targets:4list,只经过数据预处理,一个list一张图片 # interaction_loss = self.compute_interaction_loss(boxes, bh, bo, logits, prior, targets) # loss_dict = dict( # interaction_loss=interaction_loss # ) # return loss_dict
from upt.
Related Issues (20)
- list index out of range HOT 2
- error when test vcoco HOT 14
- confused about the vcoco dataset HOT 3
- HICO-DET training accuracy problem HOT 2
- A question about v-coco dataset HOT 2
- Detection results, mAP calculation HOT 2
- Multiple loss training code HOT 2
- train HOT 2
- Detected human–object interactions on video HOT 1
- VCOCO Scenario 1 and Scenario 2 HOT 1
- AttributeError: 'Namespace' object has no attribute 'lr_backbone' HOT 7
- list out of range and checkpoint's state_dict mismatch HOT 2
- UPT predicts scenario 1 of V-COCO HOT 2
- Validation set division on HICO-DET HOT 4
- Real-time measurement HOT 1
- GFLOPs and params HOT 1
- Code to visualize attention maps HOT 1
- suppress overconfident objects HOT 1
- VCOCO evaluation 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 upt.