beholdergan / Beholder-GAN

Generation and Beautification of Facial Images with Conditioning on Their Beauty Level
https://arxiv.org/abs/1902.02593
87 stars 23 forks source link

OSError: [Errno Cannot locate result subdir for run] experiment_folder #1

Open mosheliv opened 5 years ago

mosheliv commented 5 years ago

Hi,

I am trying to run your project and getting from running "python inference_cond.py --results_dir experiment_folder --outputs 10":

Saving results to results/000-inference_test

Initializing TensorFlow...
2019-05-13 22:39:02.677863: E tensorflow/stream_executor/cuda/cuda_driver.cc:300] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
Traceback (most recent call last):
  File "inference_cond.py", line 34, in <module>
    network_pkl = misc.locate_network_pkl(args.results_dir)
  File "/content/Beholder-GAN/misc.py", line 626, in locate_network_pkl
    pkls = list_network_pkls(run_id_or_result_subdir_or_network_pkl)
  File "/content/Beholder-GAN/misc.py", line 614, in list_network_pkls
    result_subdir = locate_result_subdir(run_id_or_result_subdir)
  File "/content/Beholder-GAN/misc.py", line 611, in locate_result_subdir
    raise IOError('Cannot locate result subdir for run', run_id_or_result_subdir)
OSError: [Errno Cannot locate result subdir for run] experiment_folder

this is from a run on colab, notebook: https://colab.research.google.com/drive/1-ImMSom-1uX7JTsmB5d2KPrjZuDG0lAg (I have removed the tensorflow install as it is actually pre installed)

I suspect it is looking for the bueatification scores (I have no idea why it can't locate the cuda device). Can you also provide pre-calculated beatification scores?

Best regards, Moshe