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

如何使用flop_count文件对模型进行计算? #19

Open
xuefighting opened this issue Mar 9, 2022 · 1 comment
Open

如何使用flop_count文件对模型进行计算? #19

xuefighting opened this issue Mar 9, 2022 · 1 comment

Comments

@xuefighting
Copy link

第一个问题是:对于以下警告是否可以忽略
UserWarning: floordiv is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
px = w // self.lr_block_size
第二个问题是:以下可能是什么问题
image

@clttyou
Copy link

clttyou commented Sep 21, 2022

您好,我也遇到了这个问题。请问您解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants