musco-ai / musco-tf Goto Github PK
View Code? Open in Web Editor NEWMUSCO: Multi-Stage COmpression of neural networks
License: Apache License 2.0
MUSCO: Multi-Stage COmpression of neural networks
License: Apache License 2.0
Hi, users are unable to run musco-tf due to dependency conflict with numpy package. As shown in the following full dependency graph of musco-tf, musco-tf requires numpy *,while scikit-tensor-py3 requires numpy ==1.16.*.
According to pip’s “first found wins” installation strategy, numpy 1.17.4 is the actually installed version. However, numpy 1.17.4 does not satisfy ==1.16.*.
musco-tf - 1.0.2
| +- absl-py(install version:0.8.1 version range:*)
| +- numpy(install version: 1.17.4 version range:*)
| +- scikit-tensor-py3(install version:0.4.1 version range:*)
| | +- numpy(install version:1.16.5 version range:==1.16.*)
| | +- scipy(install version:1.3.3 version range:==1.3.)
| +- scipy(install version:1.3.3 version range:*)
| +- tensorly-musco(install version:0.4.5 version range:*)
| +- tqdm(install version:4.40.2 version range:*)
Thanks for your help.
Best,
Neolith
For people who are trying to use this package with a new version of tensorflow. These are some of the changements that should be done in order to run this code using latest numpy and tf versions. If you have any other changements please feel free to add them.
Steps:
pip install .
from tensorflow.python.keras.engine import InputSpec
from tensorflow.keras.layers import InputSpec
import tensorflow.contrib.tensorrt as trt
from tensorflow.python.compiler.tensorrt import trt_convert as trt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.