Closed bursalihilal closed 5 years ago
Did you download the network weights using git-lfs as it says in the readme.md?
Can you post the full error message?
@bursalihilal setup.py
doesn't copy the pretrained weights when installing the package. You can manually copy the folder deepplantphenomics/network_states
to where the library is installed. You can find out where it is by running
import deepplantphenomics as dpp
print(dpp.__file__)
@jubbens I think specifying the pretrained weights files in setup.py
as data files will copy the files upon installing.
https://docs.python.org/3.7/distutils/setupscript.html#installing-additional-files
@stardust66 thanks for investigating this! Will test out the fix.
I tried to test "rosette_leaf_count_test.py" from the examples and I get the following error.
OutOfRangeError (see above for traceback): Read fewer bytes than requested [[Node: save/RestoreV2_11 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_11/tensor_names, save/RestoreV2_11/shape_and_slices)]]
@uday1994 it's likely that you didn't download the network weights with git-lfs.
How to download the network weights with git-lfs.
ValueError Traceback (most recent call last)
should be fixed in 092fa08
I tried with pre-trained examples from tools. However, i always get ` File "arabidopsis_strain_classifier_test.py", line 20, in
y = dpp.tools.classify_arabidopsis_strain(images)
...
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1745, in restore raise ValueError("Can't load save_path when it is None.") ValueError: Can't load save_path when it is None. `
My python version version is 3.6.5