desc icon indicating copy to clipboard operation
desc copied to clipboard

I downgraded to Tensorflow 1.7.0 using pip i.e pip install "tensorflow>=1.7.0" still I am facing installation error

Open nk6june opened this issue 4 years ago • 3 comments

ERROR: Could not find a version that satisfies the requirement tensorflow==1.7.0 (from desc) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2) ERROR: No matching distribution found for tensorflow==1.7.0 (from desc)

nk6june avatar Sep 30 '19 11:09 nk6june

Hi. Could you show some detailed information about how you install desc, I tested on different platforms (ubuntu, mac and windows), there is no error like you showed above. Any feedback is helpful. Thanks.

eleozzr avatar Oct 28 '19 09:10 eleozzr

@nk6june looks like tensorflow 1.7 can no longer be installed from pypi. You can install tensorflow from source after checking out the 1.7 branch.

On the other hand, it's not so bad to update the model code to work with 1.15. Writing in keras makes it easy :)

desc/models/network.py : line 75 specify the shape argument by keyword like self.clusters = self.add_weight(shape=(self.n_clusters, input_dim), initializer='glorot_uniform', name='clusters') ... and I think that's it.

nathanin avatar Dec 03 '19 22:12 nathanin

Thanks nathanin

eleozzr avatar Dec 04 '19 00:12 eleozzr