-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSFTTnet.py下SSFTTnet类下的forward #5
Comments
针对上面的矩阵相乘问题,把batchsize改为1 就能正常运行了。但是我的测试结果看起来很差,以下是我运行IP_train.py的测试结果(cls_result文件夹下的classification_report.txt):
Buildings-Grass-Trees-Drives 0.4845 0.5418 0.5116 347
[[ 0 0 0 5 0 5 0 0 0 12 1 0 0 18 0 0] |
你好,您说的那个“把batchsize改为1 就能正常运行了”这个在哪里改,在那个地方呀 |
IP_train.py |
|
您好,请问,您是怎么正常跑通的呢,为什么我的一直报那个维度错误,然后我尝试把batch_size也改成64,可以运行了,然后后面还是报那个错误,可以加您个联系方式嘛,或者麻烦您加一下我qq1342720383。谢谢啦 |
希望可以得到您的回复,这个问题困扰我很久啦,谢谢 |
作者您好,我在运行您的代码时一直报这个错误:Exception: test() missing 3 required positional arguments: 'device', 'net', and 'test_loader'。您看是我哪个地方没有调试好吗,希望得到您得指点 |
您好,关于那个维度错误的问题,请问您知道怎么正常跑通的了吗?谢谢啦 |
|
请问你的问题解决了吗? |
你的QQ拒绝添加,我的QQ是1379289573
在 2023-06-12 11:19:14,"commander123kekou" ***@***.***> 写道:
你这么改肯定低,我跑出来比作者论文中给的还高
您好,请问,您是怎么正常跑通的呢,为什么我的一直报那个维度错误,然后我尝试把batch_size也改成64,可以运行了,然后后面还是报那个错误,可以加您个联系方式嘛,或者麻烦您加一下我qq1342720383。谢谢啦
请问你的问题解决了吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
SSFTTnet.py下SSFTTnet类下的forward:
“wa = rearrange(self.token_wA, 'b h w -> b w h') # Transpose
A = torch.einsum('bij,bjk->bik', x, wa)”
wa是torch.Size([1, 64, 4])
x是torch.Size([64, 81, 64])
这块bij bjk里面的b不一样
The text was updated successfully, but these errors were encountered: