tensorflow-deeplab-resnet icon indicating copy to clipboard operation
tensorflow-deeplab-resnet copied to clipboard

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

Open corenel opened this issue 8 years ago • 5 comments

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

corenel avatar Mar 01 '17 12:03 corenel

Need more fix.

corenel avatar Mar 01 '17 12:03 corenel

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.

corenel avatar Mar 01 '17 15:03 corenel

Thank you, will look at it

DrSleep avatar Mar 04 '17 13:03 DrSleep

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)

zhixy avatar Mar 10 '17 12:03 zhixy

/cc @speedinghzl

bhack avatar Mar 18 '17 11:03 bhack