We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ncnn版本 ncnn-20240410 pnnx版本 pnnx-20240410-linux
运行python3 readout_query_pnnx.py 输出nan
The text was updated successfully, but these errors were encountered:
Uploading readout_query.tar.gz… 模型见附件
Sorry, something went wrong.
net = torch.jit.load('readout_query.pt') net.eval() torch.manual_seed(0) v_0 = torch.rand(1, 64, 24, 24, dtype=torch.float) v_1 = torch.rand(1, 1, 16, 65, dtype=torch.float) return net(v_0, v_1)
你提供的模型,这样随机输入,输出也是 nan
@nihui 验证了 torch.manual_seed(0) 的时候输出就会是nan 把随机种子改成别的就不会输出nan
readout_query.tar.gz pt模型与onnx模型 同样的输入 输出基本能对上 pnnx的就对不上 pt模型与onnx模型 测试代码及模型在附件
No branches or pull requests
error log | 日志或报错信息 | ログ
ncnn版本 ncnn-20240410
pnnx版本 pnnx-20240410-linux
运行python3 readout_query_pnnx.py 输出nan
model | 模型 | モデル
how to reproduce | 复现步骤 | 再現方法
2.python3 readout_query_pnnx.py
The text was updated successfully, but these errors were encountered: