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

关于一个奇怪的 UserWarning #11

Closed
qklee-lz opened this issue Jul 28, 2021 · 1 comment
Closed

关于一个奇怪的 UserWarning #11

qklee-lz opened this issue Jul 28, 2021 · 1 comment

Comments

@qklee-lz
Copy link

您好!
无论是我运行train/val/detect, 都会报这样一个错:UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at /pytorch/c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)

顺便问一下,用你另一个代码仓(resa)训练出来的pth文件,配合这个lanedet是不是无法使用,好像lanedet的resa结构把exist删掉了。

@Turoad
Copy link
Owner

Turoad commented Aug 6, 2021

It's just a warning. Take it easy.
The model in repo resa is slightly different with this repo. I think you can refer to this: https://discuss.pytorch.org/t/solved-keyerror-unexpected-key-module-encoder-embedding-weight-in-state-dict/1686 to make the model fit for this repo.

@Turoad Turoad closed this as completed Aug 11, 2021
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