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

Helping! error when run test.py #34

Open
hjyMM2018 opened this issue May 12, 2018 · 3 comments
Open

Helping! error when run test.py #34

hjyMM2018 opened this issue May 12, 2018 · 3 comments

Comments

@hjyMM2018
Copy link

when I run test.py ecounter this:

liyirong@liyirong-Alienware-17-R3:~/RFCN-tensorflow$ ./test.py
/home/liyirong/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Training network from end
Anchors: [[64, 64], [90, 45], [45, 90], [128, 128], [181, 90], [90, 181], [256, 256], [362, 181], [181, 362], [512, 512], [724, 362], [362, 724]]
Traceback (most recent call last):
File "./test.py", line 56, in
input = PreviewIO.PreviewInput(opt.i)
File "/home/liyirong/RFCN-tensorflow/Utils/PreviewIO.py", line 17, in init
if os.path.isdir(self.path):
File "/home/liyirong/anaconda3/lib/python3.6/genericpath.py", line 42, in isdir
st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

I can't figure out ,Can anyone help?

@zqdeepbluesky
Copy link

hi,I met the same error ,did you fix it?please help me thanks so much.

@cpoptic
Copy link

cpoptic commented Oct 4, 2018

Can confirm; also getting the same error

@daheyinyin
Copy link

you should run like this
./test.py -n export/model -i -o

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

4 participants