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

resize_image的里的图片应该放什么资源,里面资料url里面没有,model放好了,报错了 #3

Open
ithjz opened this issue Sep 8, 2017 · 3 comments

Comments

@ithjz
Copy link

ithjz commented Sep 8, 2017

E:\ProgramData\Anaconda3\python.exe D:/360c/FaceRank-master/train_model.py
(?, 128, 128, 24)
(?, 64, 64, 24)
(?, 64, 64, 96)
(?, 32, 32, 96)
2017-09-08 10:54:08.382260: W C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\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.
2017-09-08 10:54:08.382260: W C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\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.
['2', '3', '4']
3
count: 1
<class 'str'>

--sco---
Traceback (most recent call last):
File "D:/360c/FaceRank-master/train_model.py", line 148, in
batch_y[int(score) - 1] = 1
ValueError: invalid literal for int() with base 10: ''

Process finished with exit code 1

@fendouai
Copy link
Owner

fendouai commented Sep 8, 2017

model 放好了,直接运行 run_model

@fendouai
Copy link
Owner

fendouai commented Sep 8, 2017

resize 文件夹里的格式参考这里 https://github.com/fendouai/FaceRank/blob/master/toturial.md,和 web_image 一样,处理过程中不会更改名字,只是会保存到另一个文件夹。

@ithjz
Copy link
Author

ithjz commented Sep 8, 2017

这步解决了

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

2 participants