convolutional-pose-machines-tensorflow icon indicating copy to clipboard operation
convolutional-pose-machines-tensorflow copied to clipboard

About training data, What is bg_img_dir ?

Open ldfinfontainebleau opened this issue 7 years ago • 45 comments

I am trying to train my hand pose model with your contribution, thanks. When I reading your code, I am a little confused about bg_img_dir(in config.py). Can u tell me what is it, please?

ldfinfontainebleau avatar Dec 19 '18 04:12 ldfinfontainebleau

I write my generator and ignore bg_img, it is training now. Everything seems fine.

ldfinfontainebleau avatar Dec 20 '18 06:12 ldfinfontainebleau

what dataset can be used in this repo?

aimxu avatar Jan 11 '19 04:01 aimxu

what dataset can be used in this repo?

Do you mean data of the training program? I used it on hand key points. My training data just have two parts : 1.hands' pictures * .jpg 2.keypoints *.json You could write your generator with your own datasets. I think it will be fine. (xiaolian)

ldfinfontainebleau avatar Jan 11 '19 06:01 ldfinfontainebleau

what dataset can be used in this repo?

Do you mean data of the training program? I used it on hand key points. My training data just have two parts : 1.hands' pictures * .jpg 2.keypoints *.json You could write your generator with your own datasets. I think it will be fine. (xiaolian)

thks, but how to get key point efficiently, Is it manually marked?

zhengqinwen97 avatar Jan 17 '19 07:01 zhengqinwen97

How do you get the data set? Whether to label yourself or use the official data set? thks

It's private data(about 200000+ imgs, company property). You could search some public data sets, but the public data, I have seen, seems a little rough to me.

I suggest you to look at CMU Panoptic Dataset.

Good Luck!

ldfinfontainebleau avatar Jan 17 '19 07:01 ldfinfontainebleau

what dataset can be used in this repo?

Do you mean data of the training program? I used it on hand key points. My training data just have two parts : 1.hands' pictures * .jpg 2.keypoints *.json You could write your generator with your own datasets. I think it will be fine. (xiaolian)

thks, but how to get key point efficiently, Is it manually marked?

Yes, manually and precisely.

ldfinfontainebleau avatar Jan 17 '19 07:01 ldfinfontainebleau

How do you get the data set? Whether to label yourself or use the official data set? thks

It's private data(about 200000+ imgs, company property). You could search some public data sets, but the public data, I have seen, seems a little rough to me.

I suggest you to look at CMU Panoptic Dataset.

Good Luck!

Thank you very much for your help, I will try your recommended data set.

zhengqinwen97 avatar Jan 19 '19 07:01 zhengqinwen97

@ldfinfontainebleau can you give me step by step how to trainning new data, i alreay have my dataset but don't know how to create format in this project and make it train :(

binhmuc avatar Mar 27 '19 07:03 binhmuc

@ldfinfontainebleau can you give me step by step how to trainning new data, i alreay have my dataset but don't know how to create format in this project and make it train :(

Have you found a data set annotation method? I'm also working on my own data set. Asking for advice~~ thank you ~

qqwinn avatar Apr 03 '19 02:04 qqwinn

step by step... It has been a while. I will give it a try.

  1. make sure your dataset has two parts : .jpg and landmarks
  2. I did fix the program to suit my data form
  3. generate jpg and landmarks into training this project is just suit its data, I think u should change a little before start training. I hope I could use English fluently as my Chinese : )

ldfinfontainebleau avatar Apr 04 '19 01:04 ldfinfontainebleau

step by step... It has been a while. I will give it a try.

1. make sure your dataset has two parts : .jpg and landmarks

2. I did fix the program to suit my data form

3. generate jpg and landmarks into training
   this project is just suit its data, I think u should change a little before start training.
   I hope I could use English fluently  as my Chinese : )

thank you~ I make labels.txt contrast what is introduced in Readme like this: 20008.jpg 34.0 153.0 172 501 40.0 242.0 53.0 241.0 102.0 201.0 160.0 158.0 118.0 288.0 170.0 321.0 167.0 240.0 277.0 242.0 371.0 198.0 445.0 171.0 374.0 289.0 444.0 322.0 I train body-pose and data_picture have 12 points in every bbox, but now I'm not sure which files I need to modify in order to train properly.(qidai~~~)

qqwinn avatar Apr 06 '19 02:04 qqwinn

@qqwinn 在config.py里面有heatmap_size热力图大小,越大越准确但参数也越多;cpm_stages同理,是定义cpm阶段数的,一般最少5段,上可以加。这两个参数对于网络我觉得都很重要。需要根据自己的数据来看吧。(手动微笑)

ldfinfontainebleau avatar Apr 08 '19 01:04 ldfinfontainebleau

@qqwinn 在config.py里面有heatmap_size热力图大小,越大越准确但参数也越多;cpm_stages同理,是定义cpm阶段数的,一般最少5段,上可以加。这两个参数对于网络我觉得都很重要。需要根据自己的数据来看吧。(手动微笑) I write my generator and ignore bg_img, it is training now. Everything seems fine. 蟹蟹你~~ I display an "import Ensemble_data_generator error" when I runing run_train.py. Does this file need to be written by myself ? But I don't know exactly how to write this file. Can I refer to your generator code?~ [再次期待 :) :) :) ]

qqwinn avatar Apr 08 '19 03:04 qqwinn

@qqwinn 要看我写的generator?留个联系方式我发给你。: |)

ldfinfontainebleau avatar Apr 08 '19 06:04 ldfinfontainebleau

@qqwinn 要看我写的generator?留个联系方式我发给你。: |)

上一个邮箱我貌似填错了,真是不好意思~ [email protected] 这次没错 ::|

qqwinn avatar Apr 09 '19 08:04 qqwinn

@qqwinn 要看我写的generator?留个联系方式我发给你。: |)

上一个邮箱我貌似填错了,真是不好意思~ [email protected] 这次没错 ::|

没事的,这两天在忙一个项目,还没来得及发给你,晚上发给你。

ldfinfontainebleau avatar Apr 09 '19 08:04 ldfinfontainebleau

@qqwinn 要看我写的generator?留个联系方式我发给你。: |)

上一个邮箱我貌似填错了,真是不好意思~ [email protected] 这次没错 ::|

没事的,这两天在忙一个项目,还没来得及发给你,晚上发给你。

@ldfinfontainebleau 可以给发我一份吗 谢谢 [email protected]

2501026434 avatar Apr 23 '19 02:04 2501026434

@ldfinfontainebleau 您好,我在生成数据的时候也遇到了同样的问题,方便的话,可否也将代码共享我一下呀?谢谢啦,邮箱:[email protected] ,非常感谢!

mathduanxu avatar May 07 '19 06:05 mathduanxu

你好: 这个是别人写的generator.py文件,后续有什么心得可以交流哈~~~ 王琦琦


发件人:mathduanxu [email protected] 发送时间:2019年5月7日(星期二) 14:44 收件人:timctho/convolutional-pose-machines-tensorflow [email protected] 抄 送:qqwinn [email protected]; Mention [email protected] 主 题:Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48)

@ldfinfontainebleau 您好,我在生成数据的时候也遇到了同样的问题,方便的话,可否也将代码共享我一下呀?谢谢啦,邮箱:[email protected] ,非常感谢! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

qqwinn avatar May 07 '19 12:05 qqwinn

你好: 这个是别人写的generator.py文件,后续有什么心得可以交流哈~~~ 王琦琦 ------------------------------------------------------------------ 发件人:mathduanxu [email protected] 发送时间:2019年5月7日(星期二) 14:44 收件人:timctho/convolutional-pose-machines-tensorflow [email protected] 抄 送:qqwinn [email protected]; Mention [email protected] 主 题:Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48) @ldfinfontainebleau 您好,我在生成数据的时候也遇到了同样的问题,方便的话,可否也将代码共享我一下呀?谢谢啦,邮箱:[email protected] ,非常感谢! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

我要要一份generator.py,谢谢[email protected]

wanjunlengfeng avatar May 08 '19 12:05 wanjunlengfeng

The CMU hand data does not have hand bounding box information. There's only hand keypoints coordinate. How do you guys generate the ymin, xmin, ymax, xmax ?

tanndx17 avatar Jul 22 '19 06:07 tanndx17

Is the bbox coordinates directly from the min, max value among 21 points?

tanndx17 avatar Jul 22 '19 06:07 tanndx17

@qqwinn要看我写的发电机?留个联系方式我发给你。:|)

上一个邮箱我貌似填错了,真是不好意思 [email protected]这次没错:: |Hello, now I also want to train the model of my own data set, could you share it?thaks

xiaoxin05 avatar Jul 22 '19 09:07 xiaoxin05

Is the bbox coordinates directly from the min, max value among 21 points?

Yes, expand some pixels will be fine.

ldfinfontainebleau avatar Jul 23 '19 02:07 ldfinfontainebleau

@ldfinfontainebleau
Hello, I am a student of the orientation of human posture estimation, hoping to get your help about how do I train my own data set models,thanks,

xiaoxin05 avatar Jul 23 '19 06:07 xiaoxin05

@ldfinfontainebleau Hello, I am a student of the orientation of human posture estimation, hoping to get your help about how do I train my own data set models,thanks,

Of course, u can send your questions to [email protected], I will reply as soon as I see.

ldfinfontainebleau avatar Jul 23 '19 06:07 ldfinfontainebleau

是的,根据这些点的信息得到的框的坐标


发件人:Han Li [email protected] 发送时间:2019年7月22日(星期一) 14:51 收件人:timctho/convolutional-pose-machines-tensorflow [email protected] 抄 送:qqwinn [email protected]; Mention [email protected] 主 题:Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48)

Is the bbox coordinates directly from the min, max value among 21 points? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

qqwinn avatar Aug 05 '19 02:08 qqwinn

@qqwinn 要看我写的generator?留个联系方式我发给你。: |)

上一个邮箱我貌似填错了,真是不好意思~ [email protected] 这次没错 ::|

没事的,这两天在忙一个项目,还没来得及发给你,晚上发给你。

可以发一份给我吗,谢谢 [email protected]

huigoing avatar Aug 11 '19 08:08 huigoing

可以发我一份吗?最好保存在一个txt,然后在这个问题回复上传,这样就不会有这么多人问你要了

huangshaoguang avatar Aug 15 '19 01:08 huangshaoguang

我的邮箱是[email protected],谢谢你哦!

huangshaoguang avatar Aug 15 '19 01:08 huangshaoguang