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

ADD tf fashion ai #186

Closed
kyakuno opened this issue Aug 30, 2020 · 4 comments
Closed

ADD tf fashion ai #186

kyakuno opened this issue Aug 30, 2020 · 4 comments
Assignees

Comments

@kyakuno
Copy link
Collaborator

kyakuno commented Aug 30, 2020

https://github.com/HiKapok/tf.fashionAI

@ooe1123
Copy link
Contributor

ooe1123 commented Oct 20, 2020

学習済みのモデルを公開していないため、モデルの学習から行う必要がある?
HiKapok/tf.fashionAI#9

@ooe1123
Copy link
Contributor

ooe1123 commented Oct 20, 2020

学習データが公開終了しているため、ドキュメント通りの手順で学習ができない。
HiKapok/tf.fashionAI#7

Alibaba cloudにアカウントを作って、こちらから類似の学習データをダウンロードできるっぽい。
https://tianchi.aliyun.com/museum7/?spm=5176.14046517.J_9711814210.23.2bd17c0aFQzXFg#/newprodetail?productId=7

@ooe1123
Copy link
Contributor

ooe1123 commented Oct 21, 2020

モデルの学習から試してみるが、エラーで実行できなかった。

① fashionAI_keypoints_train*.tarをもとに、convert_tfrecords.pyを使って *.tfrecord を作成する。
(config.RECORDS_DATA_DIRを使った処理がコメントアウトされているので、コメントインする)

② train_senet_cpn_onebyone.py を実行
エラーが発生

INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.InvalidArgumentError'>, 1-th value returned by pyfunc_0 is int32, but expects int64
	 [[Node: vgg_distort_image/map/while/PyFunc = PyFunc[Tin=[DT_INT64, DT_FLOAT, DT_INT32], Tout=[DT_FLOAT, DT_INT64], token="pyfunc_0", _device="/job:localhost/replica:0/task:0/device:CPU:0"](vgg_distort_image/map/while/TensorArrayReadV3, vgg_distort_image/map/while/PyFunc/input_1, vgg_distort_image/map/while/PyFunc/input_2)]]

tensorflow.python.framework.errors_impl.InvalidArgumentError: 1-th value returned by pyfunc_0 is int32, but expects int64
	 [[Node: vgg_distort_image/map/while/PyFunc = PyFunc[Tin=[DT_INT64, DT_FLOAT, DT_INT32], Tout=[DT_FLOAT, DT_INT64], token="pyfunc_0", _device="/job:localhost/replica

@ooe1123
Copy link
Contributor

ooe1123 commented Nov 7, 2020

FashionAI の別のモデル
https://github.com/gathierry/FashionAI-KeyPointsDetectionOfApparel

@kyakuno kyakuno closed this as completed Nov 26, 2020
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