Git Product home page Git Product logo

Comments (27)

lshiwjx avatar lshiwjx commented on August 15, 2024

from 2s-agcn.

Emma-99 avatar Emma-99 commented on August 15, 2024

from 2s-agcn.

Emma-99 avatar Emma-99 commented on August 15, 2024

我查看了融合代码,发现不是这里的问题。joint和bone测试得到的两个epoch1_test_score.pkl文件中,我发现样本的顺序是不同的,这导致融合的并不是同一个样本的score。想请教如何使测试时保存score文件中样本顺序是相同的?
微信图片_20190728205410

from 2s-agcn.

lshiwjx avatar lshiwjx commented on August 15, 2024

测试时dataloader不要随机就好了: shuffle=False

from 2s-agcn.

Emma-99 avatar Emma-99 commented on August 15, 2024

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

from 2s-agcn.

Lyndsey-Xing avatar Lyndsey-Xing commented on August 15, 2024

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

您好,我想请问你的pytorch版本使用0.3吗?您的cuda版本使用的是?我下载了pytorch0.3,cuda75,但我服务器是cuda80的,所以想请问一下您的配置~ 打扰了,谢谢

from 2s-agcn.

Emma-99 avatar Emma-99 commented on August 15, 2024

from 2s-agcn.

Anirudh257 avatar Anirudh257 commented on August 15, 2024

I have followed all the above tips but I am still unable to get the ensemble working properly. I made shuffle = False while testing on my best settings of joint and bone made the order of the data correct but I am still getting < 1 % accuracy while performing ensemble. @lshiwjx Please suggest something. My joint and bone accuracies are 81.28 and 80.43% respectively.

from 2s-agcn.

wl-zhao avatar wl-zhao commented on August 15, 2024

The test result of each stream is saved as python dict, where the order of items will be ignored. To ensemble the streams correctly, you can do either of the following:

  1. save the results as python list
  2. in ensemble.py, traverse the results by the names of skeleton files (which are the keys of saved results)

from 2s-agcn.

RayLeijingsi avatar RayLeijingsi commented on August 15, 2024

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

您好,我也遇到了您说的问题,我用的是kinetics数据集。ensemble.py文件中获取score文件后都进行了排序,测试的shuffle=false。请问您是如何解决这个问题的?

from 2s-agcn.

RayLeijingsi avatar RayLeijingsi commented on August 15, 2024

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

您好,我也遇到了您说的问题,我用的是kinetics数据集。ensemble.py文件中获取score文件后都进行了排序,测试的shuffle=false。请问您是如何解决这个问题的?

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

您好,我已经解决了融合精度较低的问题。由于score文件中是用字典存储的,所以它是乱序的。需要将ebsemble.py中label,r1,r2中的文件名进行排序,使其能够对应上。打扰您了。

from 2s-agcn.

Anirudh257 avatar Anirudh257 commented on August 15, 2024

Thanks, @lshiwjx and @RayLeijingsi. Let me try reordering and calculate it again.

from 2s-agcn.

LiJieqin avatar LiJieqin commented on August 15, 2024

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

您好,我也遇到了您说的问题,我用的是kinetics数据集。ensemble.py文件中获取score文件后都进行了排序,测试的shuffle=false。请问您是如何解决这个问题的?
您好,我想请问个问题,为什么我在 用train_bone.yam训练的时候,得到的top1和top5很低,只有3%和8%?但是在用train_joint.yam训练的时候,得到的top1和top5跟论文是接近的。我用的是kinetics数据集

from 2s-agcn.

czhaneva avatar czhaneva commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

from 2s-agcn.

RayLeijingsi avatar RayLeijingsi commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

ensemble.py文件需要改动,建议你debug看一下label,r1, r2的内容,他们应该是对应的。请仔细参考楼主上面给出的解答,她还附了截图进行了标注。

from 2s-agcn.

czhaneva avatar czhaneva commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

ensemble.py文件需要改动,建议你debug看一下label,r1, r2的内容,他们应该是对应的。请仔细参考楼主上面给出的解答,她还附了截图进行了标注。

我的ensemble已经可以正确运行,但是单个串流达不到93%以上的效果,所以想询问下是否需要调整其他哪些地方

from 2s-agcn.

RayLeijingsi avatar RayLeijingsi commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

ensemble.py文件需要改动,建议你debug看一下label,r1, r2的内容,他们应该是对应的。请仔细参考楼主上面给出的解答,她还附了截图进行了标注。

我的ensemble已经可以正确运行,但是单个串流达不到93%以上的效果,所以想询问下是否需要调整其他哪些地方

你的融合准确率是多少

from 2s-agcn.

RayLeijingsi avatar RayLeijingsi commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

ensemble.py文件需要改动,建议你debug看一下label,r1, r2的内容,他们应该是对应的。请仔细参考楼主上面给出的解答,她还附了截图进行了标注。

我的ensemble已经可以正确运行,但是单个串流达不到93%以上的效果,所以想询问下是否需要调整其他哪些地方

你的融合准确率是多少

麻烦给出详细信息吧

from 2s-agcn.

czhaneva avatar czhaneva commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

ensemble.py文件需要改动,建议你debug看一下label,r1, r2的内容,他们应该是对应的。请仔细参考楼主上面给出的解答,她还附了截图进行了标注。

我的ensemble已经可以正确运行,但是单个串流达不到93%以上的效果,所以想询问下是否需要调整其他哪些地方

你的融合准确率是多少

麻烦给出详细信息吧

CV joint/bone 都只有92.8%的左右的准确率, Emsemble后的结果为94.3%,所有参数均未改动。

from 2s-agcn.

czhaneva avatar czhaneva commented on August 15, 2024

您好,我想请教一下为什么我融合的结果完全不对,在joint和bone上分别训练都有93%以上的准确率,融合之后结果1.7%,ensemble.py文件没有改动,不知道是哪里出了问题。希望能得到您的回复,非常感谢!
微信图片_20190727201517
我想请教下你有调整学习率或者改变其他参数么(随机种子、等等其他的),因为我始终达不到论文所述效果,所以有些困惑,非常期待你的回复,感谢!

ensemble.py文件需要改动,建议你debug看一下label,r1, r2的内容,他们应该是对应的。请仔细参考楼主上面给出的解答,她还附了截图进行了标注。

我的ensemble已经可以正确运行,但是单个串流达不到93%以上的效果,所以想询问下是否需要调整其他哪些地方

你的融合准确率是多少

好的,感谢啦,我只是在想是不是哪个地方参数的问题,毕竟现在已经这么高了,一个点的提升已经很不容易啦。多谢啦!

from 2s-agcn.

LiJieqin avatar LiJieqin commented on August 15, 2024

from 2s-agcn.

dangao250 avatar dangao250 commented on August 15, 2024

我用的是pytorch0.4,cuda9.1。------------------ 原始邮件 ------------------ 发件人: "Lyndsey"[email protected] 发送时间: 2019年8月17日(星期六) 上午9:57 收件人: "lshiwjx/2s-AGCN"[email protected]; 抄送: "Emma-99"[email protected];"Author"[email protected]; 主题: Re: [lshiwjx/2s-AGCN] ensemble problem (#10) 非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。 您好,我想请问你的pytorch版本使用0.3吗?您的cuda版本使用的是?我下载了pytorch0.3,cuda75,但我服务器是cuda80的,所以想请问一下您的配置~ 打扰了,谢谢 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.


请问你可以告诉我你添加的代码达到论文的水平吗 我的也特别低 然后问一下alpha这个值怎么求的是多少

from 2s-agcn.

dangao250 avatar dangao250 commented on August 15, 2024

非常感谢您的回复!我测试的时候设置了shuffle=False,得到的score文件顺序还是不一样,这点一直让我很困惑。我自己添加了几行代码来匹配两个score文件中的样本名称,得到了与您论文中相近的结果。

就是你添加了什么代码可以分享一下吗 还有alpha值是多少 怎么算的

from 2s-agcn.

dangao250 avatar dangao250 commented on August 15, 2024

I have followed all the above tips but I am still unable to get the ensemble working properly. I made shuffle = False while testing on my best settings of joint and bone made the order of the data correct but I am still getting < 1 % accuracy while performing ensemble. @lshiwjx Please suggest something. My joint and bone accuracies are 81.28 and 80.43% respectively.
Can you show me the fusion code, still don't understand this operation

from 2s-agcn.

dangao250 avatar dangao250 commented on August 15, 2024

Thanks, @lshiwjx and @RayLeijingsi. Let me try reordering and calculate it again.

Can you show me the fusion code, still don't understand this operation

from 2s-agcn.

Just-A-Peek avatar Just-A-Peek commented on August 15, 2024

I have followed all the above tips but I am still unable to get the ensemble working properly. I made shuffle = False while testing on my best settings of joint and bone made the order of the data correct but I am still getting < 1 % accuracy while performing ensemble. @lshiwjx Please suggest something. My joint and bone accuracies are 81.28 and 80.43% respectively.
Can you show me the fusion code, still don't understand this operation

Are you sure make the data have a correct order?

from 2s-agcn.

kunruya avatar kunruya commented on August 15, 2024

I add these codes before the loop and it works.
r1.sort(key=lambda k:k[0])
r2.sort(key=lambda k:k[0])
label=label.T[np.lexsort(label[::-1,:])].T

from 2s-agcn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.