AmanecerTrio / LasRCA

Artifacts accompanying LasRCA.
Apache License 2.0
2 stars 0 forks source link

prepare_dataset #2

Open ssh11-acc opened 3 days ago

ssh11-acc commented 3 days ago

Hello! Thank you for sharing your work and providing the code.

I encountered an issue while reproducing the code you provided, specifically in the prepare_dataset method in the ./tasks/base.py file. The following error occurs during execution image I also noticed that there is no information about how the example.json file is generated in the code. I would like to clarify whether I might have missed something in one of the steps or if some necessary code is missing.

I would appreciate your assistance in resolving this issue.Thank you very much!

您好!在复现您提供的代码时,我遇到了一个问题:在 ./tasks/base.py 文件中的 prepare_dataset执行时,出现了KeyError: 'unlabeled'错误。另外我注意到在代码中没有找到关于 example.json 文件是如何生成的相关信息。我想确认一下,是否在某一步操作中我遗漏了某些内容,或者是缺少了某些必要的代码?

希望可以得到您的解答,谢谢!

baiyanquan commented 2 days ago

感谢您的问题,针对prepare_dataset的问题,我已经大概确定了问题的原因,但是这几天需要优先解决另一个project的节点,我会在下周二前修复这部分并commit,还望见谅! 针对example.json的问题,我进行了一些实验和观察,发现one-shot场景下随意挑选的样本有可能不具备可解释的故障特征(例如网络丢包故障的情况下能明显看到packet相关指标值突降,而不是介于随机波动和故障之间),从而导致该类别下的样本示例不正确。因此,example.json中的样本是人为确认过的具有故障特征的样本,您并没有遗漏了某些内容或者缺少某些必要的代码,希望可以解答您的问题,谢谢! 关于issue您可以采取便捷的方式,对于英文issue我会回复英文,中文issue我会回复中文,不必花费额外的双语工作量。

ssh11-acc commented 1 day ago

好的好的,非常感谢!