computational-imaging / neural-holography

Code and data for Neural Holography
http://www.computationalimaging.org/publications/neuralholography/
Other
152 stars 45 forks source link

Environment setup fails #3

Open mhuzai opened 3 years ago

mhuzai commented 3 years ago

Hello,

conda env create -f environment.yml is failing while trying to install densenet. All other dependencies and pip installs are fine. This is on Ubuntu 18.04 and python 3.7.3. Any ideas what may be going wrong?

Thank you!

Ran pip subprocess with arguments:
['/home/huzaifa2/miniconda3/envs/neural-holography/bin/python', '-m', 'pip', 'install', '-U', '-r', '/scratch/huzaifa2/misc/neural-holography/condaenv.djfw3jr_.requirements.txt']
Pip subprocess output:
...
<Other pip installs>
...
Collecting densenet==0.1.1 (from -r /scratch/huzaifa2/misc/neural-holography/condaenv.djfw3jr_.requirements.txt (line 5))

Pip subprocess error:
  ERROR: Could not find a version that satisfies the requirement densenet==0.1.1 (from -r /scratch/huzaifa2/misc/neural-holography/condaenv.djfw3jr_.requirements.txt (line 5)) (from versions: 0.1)
ERROR: No matching distribution found for densenet==0.1.1 (from -r /scratch/huzaifa2/misc/neural-holography/condaenv.djfw3jr_.requirements.txt (line 5))

CondaEnvException: Pip failed
zzUMN commented 2 years ago

I had the same issue and the densenet 0.1.1 is only existing in the tensflow 2.0.0-alpha?

zzUMN commented 2 years ago

You can use the command in setup_env.sh file one by one to set up the environment. If possible, don't use the command to execute the setup_env.sh file directly and execute the command in the file manually.