tensorflow-on-raspberry-pi icon indicating copy to clipboard operation
tensorflow-on-raspberry-pi copied to clipboard

there is no checkpoint argument in the estimator.Estimator predict function

Open ldscr opened this issue 7 years ago • 0 comments

Describe the Issue

i installed the tensorflow 1.1.0 on my RaspberryPi 2 successfully. and run a python code which i have tested on a Ubuntu system. the code used the tensorflow estimator to build a network. when i run the code, i got this error: ERROR: predict() got an unexpected keyword argument checkpoint_path so i checked the estimator.py, found that the predict() do have no checkpoint_path argument, so i added the checkpoint_path=None, solved the problem.

but i checked the code from tensorflow, the predict() do have argument checkpoint_path. i think maybe i should share this here.

Steps to Reproduce

Hardware/Software Info

Please provide the following information about your Raspberry Pi setup:

  • Raspberry Pi model:
  • Operating System used:
  • Version of Python used:
  • SD card memory size:
  • Size of USB/other device used as swap (if building from source):
  • TensorFlow git commit hash (if building from source):

Relevant Console Output/Logs

ldscr avatar Mar 16 '18 01:03 ldscr