Skip to content
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

训练时的疑问 #2099

Open
saccharin723 opened this issue Oct 16, 2024 · 3 comments
Open

训练时的疑问 #2099

saccharin723 opened this issue Oct 16, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@saccharin723
Copy link

我在进行recbole-master的训练的时候,不管跑什么模型,我在debug的时候,他的item_seq都是[1, 50]的tensor,item_seq_len为1的tensor,而我在recbole-DA-master训练的时候debug的item_seq是[256, 50]的tensor,我觉得item_seq应该是[256, 50]的tensor,为什么recbole-master的item_seq是[1, 50]的tensor呢
recbole-master的debug结果:
1
recbole-DA-master的debug结果:
2
我想问一下这是因为配置文件的不同还是因为训练框架的不同

@saccharin723 saccharin723 added the bug Something isn't working label Oct 16, 2024
@rookie2568
Copy link

我也发现了这个问题,换用老版本的recbole则batch_size正常,我估计是新版本的bug?

@BishopLiu
Copy link
Collaborator

@saccharin723 你好,我们检查了一下发现训练的时候batch_size是正常的,你看到的batch_size为1的情况是在计算flops。
截屏2024-10-18 17 38 31
截屏2024-10-18 17 35 55

@BlackTea-c
Copy link

solved, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants