Comments (4)
Hi again, I am using conda and I installed opencv-python
as it is written in this issue, but I didn't remove my previous opencv.
Now, I am getting the following error, is it possible that it is because of an opencv conflict?!
Epoch 1/20
Traceback (most recent call last):
File "examples/train_wider.py", line 110, in
keras.callbacks.ReduceLROnPlateau(monitor='loss', factor=0.1, patience=2, verbose=1, mode='auto', epsilon=0.0001, cooldown=0, min_lr=0),
File "/home/amin/anaconda2/envs/tf/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/home/amin/anaconda2/envs/tf/lib/python2.7/site-packages/keras/engine/training.py", line 2114, in fit_generator
class_weight=class_weight)
File "/home/amin/anaconda2/envs/tf/lib/python2.7/site-packages/keras/engine/training.py", line 1826, in train_on_batch
check_batch_axis=True)
File "/home/amin/anaconda2/envs/tf/lib/python2.7/site-packages/keras/engine/training.py", line 1411, in _standardize_user_data
exception_prefix='target')
File "/home/amin/anaconda2/envs/tf/lib/python2.7/site-packages/keras/engine/training.py", line 153, in _standardize_input_data
str(array.shape))
ValueError: Error when checking target: expected regression to have shape (None, None, 4) but got array with shape (1, 105993, 5)
from keras-retinanet.
I've seen this error yesterday too .. seems to be caused by Keras 2.1.0. For now, install Keras 2.0.9 to fix this issue.
from keras-retinanet.
For reference, this is what caused it : keras-team/keras#8056 (review)
from keras-retinanet.
Yesss, thank you so much.
I installed the 2.0.9 version by conda install -c conda-forge keras
and it works.
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.