raghakot / keras-vis

Neural network visualization toolkit for keras
https://raghakot.github.io/keras-vis
MIT License
2.98k stars 661 forks source link

PyPI package needs update #198

Open nandantumu opened 5 years ago

nandantumu commented 5 years ago

Version 0.5.0 fixes a number of bugs for me, and the current PyPI version is 0.4.1!

ahmedhosny commented 5 years ago

Would be great since the current PyPI is from July 2017

thommiano commented 5 years ago

Version 0.5.0 also introduces keras.backend.identity via this PR

But this isn't introduced in Keras until version 2.0.4.

So the current install_requires=['keras>=2.0', 'six', 'scikit-image', 'matplotlib', 'h5py'] needs to be updated to install_requires=['keras>=2.0.4', 'six', 'scikit-image', 'matplotlib', 'h5py']

ahmedhosny commented 5 years ago

If you use docker, just install from source

# install keras vis
RUN git clone https://github.com/raghakot/keras-vis.git
WORKDIR /keras-vis
RUN git reset --hard 1eec6f1e60444f593edf9d7dd70f0ac4d4056181 \
  && python setup.py install

This works for me with keras==2.0.0 and an older tensorflow==0.12.1

keisen commented 4 years ago

Sorry for the inconvenience.

I have something to discuss with you guys. We need to update the package on PyPI as @nandantumu said, but I don't have the permission to upload the package. For example, what do you think about that if keras-vis uploaded to PyPI with other name, such as keras-viz.

BTW, I tried to run K.identify with keras==2.0.0 and then faced the error below:

AttributeError: module 'keras.backend' has no attribute 'identity'