You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the question of how to change the code (human body[14 point]->human hand[21point])
As shown in the post below, I have changed that part.
1.dataset_augment.py
"class CocoPart(Enum)"
"def pose_flip(meta)" -> "flip_list"
2.dataset_prepare.py
"def init" -> "transform = list(zip())"
"class CocoMetadata:" -> "__coco_parts = 21"
I have a question.
The human body is 14 points. The human hand is 21 points.
So other things can be changed simply by numbers.
But what regularity should this be and change?
Below is the existing code.
transform = list(zip(
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13],
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13]
))
Then I changed it to new below.
transform = list(zip(
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13, 15, 17, 19, 16, 18, 20, 21],
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13, 15, 17, 19, 16, 18, 20, 21]
))
But I don't know if I did it correctly.
The text was updated successfully, but these errors were encountered:
And can anyone please help me with the rules of exactly how to make this variable?
And there is no "ImageClassifierFloatInception.kt" file in the "android_demo/app/src/main/assets" folder.
How do I apply the newly created "xxx.tflite" file to Android?
This is the question of how to change the code (human body[14 point]->human hand[21point])
As shown in the post below, I have changed that part.
1.dataset_augment.py
2.dataset_prepare.py
I have a question.
The human body is 14 points. The human hand is 21 points.
So other things can be changed simply by numbers.
But what regularity should this be and change?
Below is the existing code.
transform = list(zip(
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13],
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13]
))
Then I changed it to new below.
transform = list(zip(
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13, 15, 17, 19, 16, 18, 20, 21],
[1, 2, 4, 6, 8, 3, 5, 7, 10, 12, 14, 9, 11, 13, 15, 17, 19, 16, 18, 20, 21]
))
But I don't know if I did it correctly.
The text was updated successfully, but these errors were encountered: