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

Training error #3

Open
Duranin opened this issue Feb 28, 2024 · 1 comment
Open

Training error #3

Duranin opened this issue Feb 28, 2024 · 1 comment

Comments

@Duranin
Copy link

Duranin commented Feb 28, 2024

Hello, I downloaded the corresponding pre-trained model "mobilevitv2-1.0.pt" from [ml-cvnets] and configured the relevant parameters. However, during the training process, there are the following issues:
"SerWarning: An output with one or more elements was resized since it had shape [8388608], which does not match the required output shape [1, 128, 256, 256]."“
This warning covers almost every layer. How should I correct it? Thank you for your support and work.

@goutamyg
Copy link
Owner

Hi,

Thank you for your interest in our work. Regarding the warning you encountered, it seems to be related to an older version of PyTorch, which has been addressed in the latest release. Since I conduct model training on a remote server, I haven't attempted to resolve or suppress this warning (although I acknowledge that it is annoying). Rest assured, despite the warning message, the training process remains unaffected.

To verify the training and validation loss, as well as IoU values, you can refer to the log file located in the output/logs/ directory.

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