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

I have trouble (Hourglass training) #13

Open
inhwangYang opened this issue Jul 29, 2020 · 1 comment
Open

I have trouble (Hourglass training) #13

inhwangYang opened this issue Jul 29, 2020 · 1 comment

Comments

@inhwangYang
Copy link

i run train.py
i have trouble

tensorflow.python.framework.errors_impl.InvalidArgumentError: 3 root error(s) found.
(0) Invalid argument: Key: image/object/parts/y. Data types don't match. Expected type: int64, Actual type: float
[[{{node ParseSingleExample/ParseExample/ParseExampleV2}}]]
[[MultiDeviceIteratorGetNextFromShard]]
[[RemoteCall]]
[[IteratorGetNextAsOptional_1]]
[[while/body/_19/while/OptionalHasValue/_77]]
(1) Invalid argument: Key: image/object/parts/y. Data types don't match. Expected type: int64, Actual type: float
[[{{node ParseSingleExample/ParseExample/ParseExampleV2}}]]
[[MultiDeviceIteratorGetNextFromShard]]
[[RemoteCall]]
[[IteratorGetNextAsOptional]]
(2) Invalid argument: Key: image/object/parts/y. Data types don't match. Expected type: int64, Actual type: float
[[{{node ParseSingleExample/ParseExample/ParseExampleV2}}]]
[[MultiDeviceIteratorGetNextFromShard]]
[[RemoteCall]]
[[IteratorGetNextAsOptional_1]]
0 successful operations.
0 derived errors ignored. [Op:__inference_distributed_train_epoch_290294]

Function call stack:
distributed_train_epoch -> distributed_train_epoch -> distributed_train_epoch

which one is problem? help me

@ethanyanjiali
Copy link
Owner

how did you create your TFRecords? specifically, is image/object/parts/y field in your TFExample a float number of a integer number?

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