Comments (4)
Have you solved this problem? I also encountered the same problem!!!
from keras-spp.
Have you solved this problem? I also encountered the same problem!!!
I meet the same problem, have you solved it?
from keras-spp.
Have you solved this problem? I also encountered the same problem!!!
I meet the same problem, have you solved it?
I replace the code
outputs = K.concatanate(outputs)
by
outputs = K.reshape(outputs, self.num_outputs_per_channel * self.nb_channels)
(it was annotated)
in the last code lines before return.
it works, but I don't know whether it is right for SPP layer
from keras-spp.
Hi Please I also meet the same problem . Need Help
`ValueError Traceback (most recent call last)
[<ipython-input-14-a398c7a76a74>](https://localhost:8080/#) in <cell line: 3>()
1 # uses theano ordering. Note that we leave the image size as None to allow multiple image sizes
2 model = Sequential()
----> 3 model.add(Convolution2D(32, 3, 3, input_shape=(1, None, None)))
4 model.add(Activation('relu'))
5 model.add(Convolution2D(32, 3, 3))
2 frames
[/usr/local/lib/python3.10/dist-packages/keras/layers/convolutional/base_conv.py](https://localhost:8080/#) in _get_input_channel(self, input_shape)
414 channel_axis = self._get_channel_axis()
415 if input_shape.dims[channel_axis].value is None:
--> 416 raise ValueError(
417 "The channel dimension of the inputs should be defined. "
418 f"The input_shape received is {input_shape}, "
ValueError: The channel dimension of the inputs should be defined. The input_shape received is (None, 1, None, None), where axis -1 (0-based) is the channel dimension, which found to be `None`.`
from keras-spp.
Related Issues (20)
- Unable to load a saved model with Spatial-Pyramid-Layer. HOT 3
- could not set cudnn tensor descriptor: CUDNN_STATUS_BAD_PARAM HOT 1
- Roi_pooling_conv for Fast RCNN ? HOT 1
- Batch_size
- Input of CAReduce{maximum} has zero-size on axis 2
- Unknown layer: SpatialPyramidPooling in predict stage HOT 1
- Setup Issue
- keras-rcnn problems
- ROI pooling examples issues HOT 2
- What are Parameters of SpatialPyramidPooling layer HOT 1
- roi pooling with vgg HOT 2
- "TypeError: slice indices must be integers...." on roi_pooling and roi_pooling_conv
- RoiPooling is slow
- Not working with tf.keras HOT 1
- Potential tf.keras fix HOT 4
- Error when using with Keras 2 HOT 3
- ROI Example HOT 2
- The dimension of the inputs HOT 2
- Is the RoIConvPooling the same as an RPN?
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-spp.