Comments (4)
the correct fix seems to be as follows:
def get_input_config(model):
return (
model.get_layer(index=0).get_config()["batch_input_shape"][0:3],
model.get_layer(index=0).get_config()["batch_input_shape"][3]
) if K.image_data_format() == 'th' else (
#tf ordering
model.get_layer(index=0).get_config()["batch_input_shape"][0:3],
model.get_layer(index=0).get_config()["batch_input_shape"][3]
)
from quiver.
also having this issue after going through the previous imsave and image_dim_ordering
if anyone knows a fix please share
from quiver.
i think i fixed it
in util.py, replace the get_input_config
function with this one:
`def get_input_config(model):
'''
returns a tuple (inputDimensions, numChannels)
'''
return (
model.get_config(0),
model.get_config(0)
) if K.image_data_format() == 'th' else (
#tf ordering
model.get_layer(index=0).get_config(),
model.get_layer(index=0).get_config()
)`
from quiver.
probably needs more debuggin, but it doesn't throw an exception and it opens the localhost server
from quiver.
Related Issues (20)
- Unable to load image HOT 2
- classes parameter is not valid while I run 'server.launch(...)" HOT 1
- install quiver cause install tensorflow(not gpu) cascade
- InceptionResNetV2 and InceptionV3 get error But VGG16 is good HOT 2
- quiver tried to install other version of tensorflow HOT 2
- [bug] inconsistent preprocess_input HOT 2
- Quiver_Engine installation in windows 10 HOT 1
- wrong number of feature maps? HOT 3
- TypeError: can't pickle _thread.RLock objects HOT 11
- The visualization of 3D image HOT 1
- list index out of range HOT 1
- when I import server, there comes the error, no module named 'gevent.wsgi' HOT 4
- Quiverboard does not show the model HOT 14
- Quiver fails to load data when layers use 'channels_first' config
- Changing of the interface (feature request)
- Wrote an article and cited your package
- ImportError: cannot import name 'imsave' HOT 2
- Works with multi label tabular data?
- MobilenetV3 support?
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 quiver.