-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
segment and vector outputs are single value #34
Comments
This bug has been fixed in #29, but it has not been released to PyPI yet. You can run the following to install it from GitHub. Otherwise, wait until the next release later this week. pip install git+https://github.com/opengeos/segment-geospatial.git |
Or install v0.3.0. pip install segment-geospatial==0.3.0 |
In line. resintalled version 0.3.0 sam.generate() returns an error: TypeError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/samgeo/samgeo.py in generate(self, in_path, out_path, **kwargs) TypeError: tiff_to_tiff() got an unexpected keyword argument 'erosion_kernel' |
It is probably because the notebook has been updated. It is no longer compatible with v0.3. Try installing from Github |
You're right, thank you |
Environment Information
Description
Ran the example code provided in both pycharm on local machine and in Google Colab here:
https://colab.research.google.com/github/opengeos/segment-geospatial/blob/main/docs/examples/satellite.ipynb#scrollTo=Gqby0rFINPNR
Output vectors and segments return single value of 255. Does not return the same output as shown in example.
What I Did
Returns same results as in the Colab example.
The text was updated successfully, but these errors were encountered: