Comments (4)
I just had this issue recently. Any suggestions how to solve this?
from keras-fasterrcnn.
Diagnosing dimension out of bounds errors is pretty hard since it could be a lot of things. Try using my pull request since I fixed a lot of issues with the repository there. If that doesn't fix your issue I can try diagnosing with you.
from keras-fasterrcnn.
@collinarnett there was a try/except block which was commented. What I did was, before you mentioned your PR, I removed the comments so that whole training process is inside a try/except block. It works but from time to time exception is caught. Would you be able to explain what is the main reason of this exception? How does it affect the training performance and as a result testing performance?
from keras-fasterrcnn.
As far as I know ROI Pooling is responsible for finding the location of the desired object by taking the best same from a region as outlined in more detail here. For this error, I would guess that the sliding window is overlapping out of bounds and if you're putting the entire training loop in a try except block, it would skip the training step.
I think the easiest way to diagnose this problem would be to test the ROI width as indicated by @wudi00 's error:
File "/media/disk/wudi/Keras-FasterRCNN-master/keras_frcnn/RoiPoolingConv.py", line 67, in call
w = rois[0, roi_idx, 2]
from keras-fasterrcnn.
Related Issues (20)
- tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index 14 of dimension 1 out of bounds. HOT 2
- Train Model Fail
- It doesn't train,Epoch 1/2000,and stop for one hour HOT 2
- How does val_loss works when train model
- How should I run the inference?
- Can anyone pls explain this region of code? Why are we only taking num_regions/2 positive and negative boxes?
- Pre-train for inception resnet v2 HOT 1
- Data Augmentation
- Plot the model
- Incompatible shapes
- custom dataset
- tf2 - from colab to local machine - problems with TimeDistributed
- stuck at epoch 1 for vgg HOT 1
- trained hdf5 file
- Unable to reproduce PASCAL VOC performance
- Exception: 'a' cannot be empty unless no samples are taken
- How to check Testing accuracy
- AttributeError: 'Node' object has no attribute 'output_masks' HOT 1
- ValueError: Attempt to convert a value (None) with an unsupported type (<class 'NoneType'>) to a Tensor. HOT 1
- Parallel Computing
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 keras-fasterrcnn.