GeoX-Lab / LSTTN

29 stars 4 forks source link

这篇论文有巨大的创新 #1

Open ahua678 opened 4 months ago

ahua678 commented 4 months ago

我在复现的时候出现了,这个问题,困惑许久 File "/home/dahua/code/LSTTN-main/models/transformer.py", line 48, in forward x = input + pe RuntimeError: The size of tensor a (103152) must match the size of tensor b (1000) at non-singleton dimension 1 期待作者能慷慨解答

GeoX-Lab commented 4 months ago

我在复现的时候出现了,这个问题,困惑许久 File "/home/dahua/code/LSTTN-main/models/transformer.py", line 48, in forward x = input + pe RuntimeError: The size of tensor a (103152) must match the size of tensor b (1000) at non-singleton dimension 1 期待作者能慷慨解答

你可以详细说明一下错误产生的过程吗?比如完整的报错信息等。

1073535050 commented 4 months ago

同学你好,我在复现这篇时也遇到些问题,想要问你请教一下,方便加个联系方式嘛

ahua678 commented 4 months ago

1 2 3 4 具体的报错信息是这个,很迷惑

ahua678 commented 4 months ago

同学你好,我在复现这篇时也遇到些问题,想要问你请教一下,方便加个联系方式嘛

是easytorch的问题吗?,需要pip install easy-torch,目前easytorch更新了,版本是1.3.2

1073535050 commented 4 months ago

同学你好,我在复现这篇时也遇到些问题,想要问你请教一下,方便加个联系方式嘛

是easytorch的问题吗?,需要pip install easy-torch,目前easytorch更新了,版本是1.3.2

对的,我之前是报错easytorch中lunach_training出错,现在又报错ModuleNotFoundError: No module named 'torch._custom_ops',我先试一下更新,感谢解答

1073535050 commented 4 months ago

同学你好,我在复现这篇时也遇到些问题,想要问你请教一下,方便加个联系方式嘛

是easytorch的问题吗?,需要pip install easy-torch,目前easytorch更新了,版本是1.3.2

你好,我首先确认一下是更新easy-torch嘛,因为readme中的是easytorch,然后我在更新之后报错是AttributeError: 'Namespace' object has no attribute 'items'这个。因为readme没有配置超参数,所以是只需要配置好环境就可以run main了嘛,还是需要其他操作。因为我是第一次复现,恳请解答谢谢

ahua678 commented 4 months ago

同学你好,我在复现这篇时也遇到些问题,想要问你请教一下,方便加个联系方式嘛

是easytorch的问题吗?,需要pip install easy-torch,目前easytorch更新了,版本是1.3.2

你好,我首先确认一下是更新easy-torch嘛,因为readme中的是easytorch,然后我在更新之后报错是AttributeError: 'Namespace' object has no attribute 'items'这个。因为readme没有配置超参数,所以是只需要配置好环境就可以run main了嘛,还是需要其他操作。因为我是第一次复现,恳请解答谢谢 更新了还不得行,还需要配置超参数,然后后面还有问题,就是我现在也没解决,具体可能要逐行理解代码意思才能解决,你如果是第一次复现的话,建议找一个旧一点的,这个很新,我看另外一个同学也在问,不知道他解决了没有

GeoX-Lab commented 4 months ago

关于easytorch问题,不应下载requirements.txt里面的easytorch,应该是另一个同名的包,直接运行pip install easy-torch即可。 关于复现的方法,可以参考一下questions.md中的内容,看是否能解决。

同学你好,我在复现这篇时也遇到些问题,想要问你请教一下,方便加个联系方式嘛

是easytorch的问题吗?,需要pip install easy-torch,目前easytorch更新了,版本是1.3.2

你好,我首先确认一下是更新easy-torch嘛,因为readme中的是easytorch,然后我在更新之后报错是AttributeError: 'Namespace' object has no attribute 'items'这个。因为readme没有配置超参数,所以是只需要配置好环境就可以run main了嘛,还是需要其他操作。因为我是第一次复现,恳请解答谢谢 更新了还不得行,还需要配置超参数,然后后面还有问题,就是我现在也没解决,具体可能要逐行理解代码意思才能解决,你如果是第一次复现的话,建议找一个旧一点的,这个很新,我看另外一个同学也在问,不知道他解决了没有

GeoX-Lab commented 4 months ago

我在复现的时候出现了,这个问题,困惑许久 File "/home/dahua/code/LSTTN-main/models/transformer.py", line 48, in forward x = input + pe RuntimeError: The size of tensor a (103152) must match the size of tensor b (1000) at non-singleton dimension 1 期待作者能慷慨解答

这个是使用的哪个数据集和config文件呢