Comments (4)
Hi,
I don't understand your question.
from 3d-bounding-box-estimation-for-autonomous-driving.
Hi!I use your code to train KITTi,the data folder is just like the format as you posted. But thIS error
img = cv2.resize(img, (cfg().norm_h, cfg().norm_w)) cv2.error: OpenCV(4.1.1) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
happens
during my training , when I use small subset of kitti(700 images).I can train more than 12 epochs. But more than 7000 images,this error occours. Some times it can train more than one epoch,but then the error happens. I print the image folder,but I can't find the bug.
from 3d-bounding-box-estimation-for-autonomous-driving.
Hi, in the middle of 7 epoch training,this error happens again
File "train.py", line 61, in <module> train() File "train.py", line 58, in train max_queue_size=3) File "D:\Anaconda\envs\TF1.12\lib\site-packages\tensorflow\python\keras\engine\training.py", line 2177, in fit_generator initial_epoch=initial_epoch) File "D:\Anaconda\envs\TF1.12\lib\site-packages\tensorflow\python\keras\engine\training_generator.py", line 147, in fit_generator generator_output = next(output_generator) File "D:\Anaconda\envs\TF1.12\lib\site-packages\tensorflow\python\keras\utils\data_utils.py", line 831, in get six.reraise(value.__class__, value, value.__traceback__) File "D:\Anaconda\envs\TF1.12\lib\site-packages\six.py", line 686, in reraise raise value File "D:\Anaconda\envs\TF1.12\lib\site-packages\tensorflow\python\keras\utils\data_utils.py", line 696, in _data_generator_task generator_output = next(self._generator) File "D:\3d-bounding-box-estimation-for-autonomous-driving\utils\data_generation.py", line 80, in data_gen image, dimension, orientation, confidence = prepare_input_and_output(all_objs[key], all_objs[key]['image'], File "D:\3d-bounding-box-estimation-for-autonomous-driving\utils\data_generation.py", line 37, in prepare_input_and_output img = cv2.resize(img, (cfg().norm_h, cfg().norm_w)) cv2.error: OpenCV(3.4.2) C:\Miniconda3\conda-bld\opencv-suite_1534379934306\work\modules\imgproc\src\resize.cpp:4044: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
Any body any ideas?
from 3d-bounding-box-estimation-for-autonomous-driving.
This is caused by the random jitter factor when cropping images.
In the pull request you might find the solution, but I have not checked if it is correct.
from 3d-bounding-box-estimation-for-autonomous-driving.
Related Issues (19)
- Confused about label files. HOT 4
- how to plot 3dbb without P2 HOT 2
- How to measure performance? HOT 1
- Camera Calibration Data ? HOT 3
- License?
- 角度loss的实现问题
- about the orientation loss?
- Loss is Nan, VGG backbone not working HOT 1
- VGG model
- Where is the trained model saved
- Training early stopping
- How to get the prediction or visualization of new images, not on Kitti? HOT 1
- Do you have any pretrained parameters we can use? HOT 2
- Trained with imagenet pre-trained model
- Data ? HOT 2
- what's the threshold of IOU? HOT 1
- problem with preparing KITTI dataset HOT 4
- some problem about KITTI data set HOT 5
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 3d-bounding-box-estimation-for-autonomous-driving.