Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when porting to tensorflow for: python3 tools/export-checkpoint.py --checkpoint ../export --output_file static/models/facades_BtoA.pict #204

Open
lbouz16 opened this issue Feb 1, 2022 · 0 comments

Comments

@lbouz16
Copy link

lbouz16 commented Feb 1, 2022

This is the error I get everytime I run this final command and not sure what to do. Any help please

Traceback (most recent call last): File "/Users/Lina/pix2pix-tensorflow/pix2pix-tensorflow/server/tools/dump_checkpoints/dump_checkpoint_vars.py", line 94, in <module> FLAGS.model_type, FLAGS.checkpoint_file, FLAGS.output_dir, FLAGS.remove_variables_regex) File "/Users/Lina/pix2pix-tensorflow/pix2pix-tensorflow/server/tools/dump_checkpoints/dump_checkpoint_vars.py", line 50, in get_checkpoint_dumper from tensorflow_checkpoint_dumper import TensorflowCheckpointDumper File "/Users/Lina/pix2pix-tensorflow/pix2pix-tensorflow/server/tools/dump_checkpoints/tensorflow_checkpoint_dumper.py", line 33, in <module> import tensorflow as tf ImportError: No module named tensorflow Traceback (most recent call last): File "tools/export-checkpoint.py", line 101, in <module> main() File "tools/export-checkpoint.py", line 48, in main sp.check_call(cmd) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['python', '-u', '/Users/Lina/pix2pix-tensorflow/pix2pix-tensorflow/server/tools/dump_checkpoints/dump_checkpoint_vars.py', '--model_type', 'tensorflow', '--output_dir', '/var/folders/vv/8y616ccd6wngvm6trlkvwvk00000gp/T/tmp1550h_qi', '--checkpoint_file', '../export/export']' returned non-zero exit status 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant