Skip to content

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

@ithjz

Description

@ithjz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions