mmskeleton icon indicating copy to clipboard operation
mmskeleton copied to clipboard

Training the model with new dataset

Open taxuezcy opened this issue 6 years ago • 34 comments

@yysijie @yjxiong ,hello, sorry to interrupt you, i have built my own dataset which is much smaller than kinetics, when i use the new dataset to train the model and adjust some parameters, the best accuracy is 47.77% for Top1, 90.23% for top5, but it is still not enough,could you help me to improve the accuracy?Looking forward to your reply!

taxuezcy avatar Jul 13 '18 09:07 taxuezcy

Hi, if you use a smaller dataset, your model may suffer from over-fitting problem. May be you can use our model as a pre-trained model. Or, you can use some proper augmentation strategies, such as rotation, transform, randomly clipping and so on.

yysijie avatar Jul 16 '18 10:07 yysijie

@yysijie hello, thank you very much for your kind reply! I have tried the method you proposed,but the accurary is still small. I wondor if it is the limit of the 2d pose, so i want to test the ntu-rgb dataset,but i cannot get the dataset, i have send the request for ntu-rgb,but i don't receive the reply. so can you share me the ntu-rgb dataset, looking forward to your reply

taxuezcy avatar Jul 18 '18 01:07 taxuezcy

I think your problem is not caused by the limit of 2d pose. What is the accuracy?

Sorry, I can not share the ntu-rgb dataset without their authorization. They replied me on the third day.

yysijie avatar Aug 09 '18 14:08 yysijie

@yysijie ,thank you for your kind reply! i have used the PKUMMD dataset to test your 3d ntu-crossview pretained model,and the accuracy is only 3.52% for top1, i wonder what cause such a big difference?

taxuezcy avatar Aug 14 '18 09:08 taxuezcy

It's strange. Did you check the value range of data and the definition of joints are identical?

yysijie avatar Aug 15 '18 16:08 yysijie

@taxuezcy Did you train st-gcn on PKUMMD dataset?

fmthoker avatar Oct 13 '18 16:10 fmthoker

@taxuezcy Hello, how do you generate a val_json file when you are doing a dataset?

ml930310 avatar Feb 24 '19 00:02 ml930310

@taxuezcy , Hello , how do you generate train_json file when you use new dataset?Download dataset from the internet or generate by openpose?

wwwpbai avatar Mar 09 '19 08:03 wwwpbai

@fmthoker ,yes, I have trained st-gcn on PKUMMD dataset

taxuezcy avatar Mar 11 '19 02:03 taxuezcy

@ml930310 @wwwpbai ,I generate train_json file and val_json file by openpose

taxuezcy avatar Mar 11 '19 02:03 taxuezcy

@taxuezcy @yysijie Hello,how to use the pre-trained model to train my dataset

645704621 avatar Mar 18 '19 03:03 645704621

@ml930310 @wwwpbai ,I generate train_json file and val_json file by openpose

i can't generate a file but some files of every frames. How can i generate a whole file?

1209805200 avatar Apr 16 '19 01:04 1209805200

@1209805200, you can use code https://github.com/yysijie/st-gcn/blob/master/tools/kinetics_gendata.py to generate a whole file with json files of every frame.

wwwpbai avatar Apr 16 '19 01:04 wwwpbai

@taxuezcy hi,sorry to interrupt you, i have built ucf101 dataset ,can i tell you what your order is ?How to transfer the original video dataset to the skeleton format file required by the network

anjingxing avatar May 14 '19 08:05 anjingxing

@wwwpbai soory to interrupt you, how to get this red line file? i don't know how to run openpose to get my dataset json file. 图片

hacker-wei avatar May 31 '19 02:05 hacker-wei

@hacker-wei, you can see demo.py,this file tests some video files by calling openpose, you can learn from it then write your own code ,then run your own code get kinetics-skeleton then save them in your computer.

wwwpbai avatar May 31 '19 02:05 wwwpbai

@wwwpbai thank you. i'll try it. and how to get this file,do you have the script.py ???图片

hacker-wei avatar May 31 '19 03:05 hacker-wei

@hacker-wei , you can see this script

wwwpbai avatar Jun 01 '19 07:06 wwwpbai

@wwwpbai thank you.may i have your wechat or qq?

hacker-wei avatar Jun 03 '19 02:06 hacker-wei

why this the output channel multiple kernel_size of conv operate? 图片

hacker-wei avatar Jun 03 '19 02:06 hacker-wei

can you give the url of openpose. build file in ubuntu to me? i can't compile the openpose, it waste my lots of time.thank you @yysijie

hacker-wei avatar Jun 07 '19 08:06 hacker-wei

@ml930310 @wwwpbai ,I generate train_json file and val_json file by openpose

@taxuezcy Hi,there is a problem coming to me.Do you get the train_json file of your own dataset by the openpose directly?(e.g. you didn't add your custom post-processing function with the OpenPose C++/Python API ?) thx!

DianYe2333 avatar Aug 27 '19 13:08 DianYe2333

@i2isaalien,it needs two step to get the train_json

taxuezcy avatar Aug 29 '19 07:08 taxuezcy

@i2isaalien,it needs two step to get the train_json

thanks to reply my question,Could you be more specific?

DianYe2333 avatar Aug 31 '19 01:08 DianYe2333

为什么这个输出通道的conv的多个kernel_size操作? 图片

Do you know why?

YZYLHR avatar Oct 17 '19 13:10 YZYLHR

Hello, I have .json files(skeleton data) for each frame. I want to get a .npy file out of it which the training script accepts. What script should I use ? I am thinking to use kinetics_gendata.py Is that correct?

Thanks in advance

akhilsantha7 avatar Nov 13 '19 00:11 akhilsantha7

yes!You can use openpose. py to gendata. json file for each video. Then you can use kinetics_gendata.py to get the. npy file. 

---Original--- From: "Akhil"<[email protected]> Date: Wed, Nov 13, 2019 08:18 AM To: "open-mmlab/mmskeleton"<[email protected]>; Cc: "YZYLHR"<[email protected]>;"Comment"<[email protected]>; Subject: Re: [open-mmlab/mmskeleton] Training the model with new dataset (#64)

Hello, I have .json files(skeleton data) for each frame. I want to get a .npy file out of it which the training script accepts. What script should I use ? I am thinking to use kinetics_gendata.py Is that correct?

Thanks in advance

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

YZYLHR avatar Nov 20 '19 01:11 YZYLHR

I used the self built data set to train the new model, but there was a situation of Top1 = 40%, top5 = 100%. Why? And I don't use openpost to extract bone data. I use joint point data extracted from other models. The effect of joint point position is not much worse than that of openpost, but there is a little difference in confidence. Does that have an impact?

@yysijie @taxuezcy @fmthoker @ml930310 @wwwpbai

luoluo-gif avatar Jan 03 '20 02:01 luoluo-gif

Hi! Maybe your dataset is too small.You can try using the pre-training model.

------------------ 原始邮件 ------------------ 发件人: "luoluo-gif"<[email protected]>; 发送时间: 2020年1月3日(星期五) 上午10:02 收件人: "open-mmlab/mmskeleton"<[email protected]>; 抄送: "小仙女"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [open-mmlab/mmskeleton] Training the model with new dataset (#64)

I used the self built data set to train the new model, but there was a situation of Top1 = 40%, top5 = 100%. Why? And I don't use openpost to extract bone data. I use joint point data extracted from other models. The effect of joint point position is not much worse than that of openpost, but there is a little difference in confidence. Does that have an impact?

@yysijie @taxuezcy @fmthoker @ml930310 @wwwpbai

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

YZYLHR avatar Jan 03 '20 02:01 YZYLHR

I think your problem is not caused by the limit of 2d pose. What is the accuracy?

Sorry, I can not share the ntu-rgb dataset without their authorization. They replied me on the third 你好,请问Kinetics skeleton 数据集方便分享以下百度网盘的连接吗,连接失效了。邮箱:[email protected] @yjxiong @hellock

Summer-sss avatar Jul 15 '20 13:07 Summer-sss