Comments (5)
I have the same error when I try to train on my own dataset. Would you please to share how you solved this problem? THANKS
from simple-faster-rcnn-pytorch.
trainer.py line 147
roi_loc = roi_cls_loc[t.arange(0, n_sample).long().cuda(), \
at.totensor(gt_roi_label).long()]
you may print roi_cls_loc
and gt_roi_label
to see what happen.
from simple-faster-rcnn-pytorch.
I'll close it for now, feel free to reopen it if you have any questions.
from simple-faster-rcnn-pytorch.
@chenyuntc I try to print the roi_cls_loc and gt_roi_label, but it print nothing
from simple-faster-rcnn-pytorch.
I have same problem too = =
/opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [0,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [1,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [2,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [3,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [4,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [5,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [6,0,0] Assertion
indexAtDim < data.baseSizes[dim]failed. /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/THCTensorIndex.cu:417: long calculateOffset(IndexType, LinearIndexCalcData<IndexType, Dims>) [with IndexType = unsigned int, Dims = 3U]: block: [0,0,0], thread: [7,0,0] Assertion
indexAtDim < data.baseSizes[dim]` failed.
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/generic/THCTensorCopy.c line=21 error=59 : device-side assert triggered
`
from simple-faster-rcnn-pytorch.
Related Issues (20)
- question about trainer.vis.plot_many(trainer.get_meter_data()),please help me HOT 2
- Time consumption mainly comes from the i/o of cpu and gpu(such as numpy to tensor(cuda)) is that correct?
- Why do I need to copy a formal parameter in your codes? Is there some trick?(data/util.py bbox = bbox.copy())It's common in C++, but in python, i'm very curious.
- How to train Faster R-CNN on my own custom dataset and changing the RPN loss functions? HOT 2
- ValueError: need at least one array to stack HOT 3
- 关于RPN网络softmax HOT 2
- connection error HOT 1
- Can I test this model for real-time object detection? Is there a demo for it? HOT 1
- Without the incoming socket you cannot receive events from the server or register event handlers to your Visdom client. HOT 4
- In train.py line: 76
- 训练过程的loss HOT 2
- train mine dataset had an error!!! HOT 2
- Visdom and aws Sagemaker - output ?
- 训练好的模型在哪里保存啊? HOT 1
- out of memory 训练的时候显存一直在增长 HOT 4
- 怎么打印fps HOT 1
- step by step understanding approximate joint training method #192 HOT 5
- approximate joint training method problem
- How can I cite your work in my thesis?
- Convert to onnx
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 simple-faster-rcnn-pytorch.