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

fix inference.py for TF 1.0 && reformat using pep8 code style #45

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

corenel
Copy link

@corenel corenel commented Mar 1, 2017

  • fix inference.py for TF 1.0
  • reformat using pep8 code style

@corenel corenel closed this Mar 1, 2017
@corenel corenel reopened this Mar 1, 2017
@corenel
Copy link
Author

corenel commented Mar 1, 2017

Need more fix.

@corenel corenel closed this Mar 1, 2017
tf.reverse() now takes indices of axes to be reversed.
so we should convert boolean_mask into indices
@corenel corenel reopened this Mar 1, 2017
@corenel
Copy link
Author

corenel commented Mar 1, 2017

That's strange that I test the script in .travis.yml on local computer successfully, but Travis.org returns a failure.

UPDATE: It seems that some commands run out of memory on travis-ci server. Don't know how to fix it.

@DrSleep
Copy link
Owner

DrSleep commented Mar 4, 2017

Thank you, will look at it

@zhixy
Copy link

zhixy commented Mar 10, 2017

Hi, I suffered a Segmentation fault (core dumped) error, even though I finally got the segmentation result.
python inference.py ../elephant.jpg ./deeplab_resnet.ckpt W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. Restored model parameters from ./deeplab_resnet.ckpt The output file has been saved to ./output/mask.png Segmentation fault (core dumped)

@bhack
Copy link

bhack commented Mar 18, 2017

/cc @speedinghzl

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

Successfully merging this pull request may close these issues.

None yet

4 participants