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

Got an AssertionError when run the train_SAM_box.py #7

Open
monxxcn opened this issue Mar 6, 2024 · 2 comments
Open

Got an AssertionError when run the train_SAM_box.py #7

monxxcn opened this issue Mar 6, 2024 · 2 comments

Comments

@monxxcn
Copy link

monxxcn commented Mar 6, 2024

Hello, I encountered an error when attempting to fine-tune SonarSAM using box prompts. I followed your guidelines precisely while running the program. What could be the potential issues?
截屏2024-03-06 19 01 49
截屏2024-03-06 19 02 24

@monxxcn
Copy link
Author

monxxcn commented Mar 6, 2024

I ran the code with cuda 11.8, pytorch 2.0.1 and torchvision 0.15.2

@monxxcn
Copy link
Author

monxxcn commented Mar 7, 2024

It seems that the inconsistent data distribution which is a result of distributed training. Is there a recommended solution to address this issue?

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

1 participant