Comments (5)
This matter is resolved then? What was the problem?
from keras-retinanet.
I re-copied your new project, and adjusted my data. Then, it works.
from keras-retinanet.
Thanks for sharing.
from keras-retinanet.
This is strange. I got a similar error when the model was training. Thank you in advance. ps. I tried to use the train_csv.py with my custom data.
==============================================================
None
Epoch 1/20
275/873 [========>.....................] - ETA: 5:09 - loss: 0.6573 - regression_loss: 0.0018 - classification_loss: 0.6555Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/utils/data_utils.py", line 579, in data_generator_task
generator_output = next(self._generator)
File "build/bdist.linux-x86_64/egg/keras_retinanet/preprocessing/generator.py", line 217, in next
return self.compute_input_output(group)
File "build/bdist.linux-x86_64/egg/keras_retinanet/preprocessing/generator.py", line 195, in compute_input_output
image_group, annotations_group = self.preprocess_group(image_group, annotations_group)
File "build/bdist.linux-x86_64/egg/keras_retinanet/preprocessing/generator.py", line 115, in preprocess_group
image, annotations = random_transform(image, annotations, self.image_data_generator)
File "build/bdist.linux-x86_64/egg/keras_retinanet/utils/image.py", line 76, in random_transform
boxes[index, 0] = float(min(j))
276/873 [========>.....................] - ETA: 5:08 - loss: 0.6560 - regression_loss: 0.0018 - classification_loss: 0.6542Traceback (most recent call last):
File "train_csv.py", line 117, in <module>
keras.callbacks.ReduceLROnPlateau(monitor='loss', factor=0.1, patience=2, verbose=1, mode='auto', epsilon=0.0001, cooldown=0, min_lr=0),
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2046, in fit_generator
generator_output = next(output_generator)
StopIteration
from keras-retinanet.
@Weixing-Zhang: The error message you posted is incomplete. The actual exception is missing. That is probably because of the way keras handles exception in data generators (would be improved by keras-team/keras#8485) . I do not think this is the same issue though.
If this is a reproducible error, could you update Keras to latest master (so that you get keras-team/keras#8485) and open a new issue with the updated error message?
from keras-retinanet.
Related Issues (20)
- ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is disabled, ANGLE is HOT 1
- Value Not Accepted: invalid literal HOT 1
- Extracting and saving mAP during training HOT 1
- Training Issue HOT 1
- when training yolov5 on custom dataset on spider show this error? how to resolve this error in pc? HOT 1
- COCO Large category and Anchor boxes generator HOT 1
- Error is displayed when running efficientnet: No module named 'efficientnet'
- Project dependencies may have API risk issues HOT 2
- InceptionV3 error HOT 1
- ModuleNotFoundError: No module named 'keras_retinanet.utils.compute_overlap' HOT 2
- 2023 Model
- Bad mAP results after long train HOT 1
- How to plot the metrics of my custom train
- Error occurred when finalizing GeneratorDataset iterator: FAILED_PRECONDITION: Python interpreter state is not initialized. The process may be terminated. HOT 3
- flag `--patience` (epochs to wait for no observable improvement for early stopping of training)
- How to convert model.h5 to ONNX ? HOT 1
- Error Code 2: Internal Error (ForeignNode does not support data-dependent shape for now.)
- How to get input_1 after training at the input of the model: [?, 512, 512, 3] ?
- train a model with a fixed input size HOT 3
- Not able to run my retinanet on gpu
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-retinanet.