-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Exception: 'NoneType' object has no attribute 'crop' #191
Labels
bug
Something isn't working
Comments
Please provide complete source code for debugging. |
|
I got the same issue. Did you manage to fix it? |
unfortunately not! |
You guys found any solution ? |
It's because the bounding box needed is not in the same form as expected. The x and y need to be switched! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to implement FastSAM in a for loop. I have a couple of bboxes in a list like below:
bbox[4:7]
[[58.925381, 31.177402, 58.940381, 31.167402],[58.940381, 31.167402, 58.955381, 31.157402],
[58.955381, 31.157402, 58.970381, 31.147402]]
in each loop I want to have a segmentation. every things is OK until the sixth loop which I get the Exception: 'NoneType' object has no attribute 'crop' error message for the tms_to_geotiff function. how can I solve this issue?
BTW here is my for loop code:
In addition to the for loop, sometimes when I want to segment objects according to the FastSAM notebook, I get this error.
The text was updated successfully, but these errors were encountered: