(Error)
File "train_face_dagan.py", line 12, in
experiment.run_experiment()
File "experiment_builder.py", line 101, in run_experiment
ignore_missing_vars=True)
File "lib/python3.7/site-packages/tensorflow_core/contrib/framework/python/ops/variables.py", line 742, in assign_from_checkpoint_fn
reader = pywrap_tensorflow.NewCheckpointReader(model_path)
File "lib/python3.7/site-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 885, in init
this = _pywrap_tensorflow_internal.new_CheckpointREader(filename)
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceREader constructor: Failed to find any matching files for omniglot/dagan/experiment/saved_models/train_saved_model_omniglot_dagan_experiment_38.ckpt
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceREader constructor: Failed to find any matching files for omniglot/dagan/experiment/saved_models/train_saved_model_omniglot_dagan_experiment_38.ckpt
tensorflow.python.gramework.errors_impl.NotFoundError:: command not found
The directory "omniglot/dagan/experiment/saved_models", was made by "build_experiment_folder(self.experiment_name)", so it exists.
However, I cannot find the code that makes "train_saved_model_omniglot_dagan_experiment_38.ckpt".
Do I need to add "train_saved_model_omniglot_dagan_experiment_38.ckpt" additionaly?
If not, why this code is not working?
I do not changed anything, I just did git clone this repository.
A ha..
I was so silly.
--continue_from_epoch 38
means that it has epoch 38 checkpoint..
So just run the command without "--continue_from_epoch 38", as its default is -1.
I tried to replay the code with the given dataset and without any code modification, but it does not work at all.
I downloaded the 'vgg_face_data.npy' from here(https://drive.google.com/drive/folders/15x2C11OrNeKLMzBDHrv8NPOwyre6H3O5) and put it in /datasets.
(Command) python train_face_dagan.py --batch_size 32 --generator_inner_layers 3 --discriminator_inner_layers 5 --num_generations 64 --num_of_gpus 8 --z_dim 100 --dropout_rate_value 0.5 --continue_from_epoch 38 > output.txt
(Error) File "train_face_dagan.py", line 12, in
experiment.run_experiment()
File "experiment_builder.py", line 101, in run_experiment
ignore_missing_vars=True)
File "lib/python3.7/site-packages/tensorflow_core/contrib/framework/python/ops/variables.py", line 742, in assign_from_checkpoint_fn
reader = pywrap_tensorflow.NewCheckpointReader(model_path)
File "lib/python3.7/site-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 885, in init
this = _pywrap_tensorflow_internal.new_CheckpointREader(filename)
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceREader constructor: Failed to find any matching files for omniglot/dagan/experiment/saved_models/train_saved_model_omniglot_dagan_experiment_38.ckpt
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceREader constructor: Failed to find any matching files for omniglot/dagan/experiment/saved_models/train_saved_model_omniglot_dagan_experiment_38.ckpt tensorflow.python.gramework.errors_impl.NotFoundError:: command not found
The directory "omniglot/dagan/experiment/saved_models", was made by "build_experiment_folder(self.experiment_name)", so it exists. However, I cannot find the code that makes "train_saved_model_omniglot_dagan_experiment_38.ckpt".
Do I need to add "train_saved_model_omniglot_dagan_experiment_38.ckpt" additionaly? If not, why this code is not working?
I do not changed anything, I just did git clone this repository.
And I am totally newcomer for tensorflow.