Comments (6)
I would guess that the output path does not exist but without more information such as the whole stack output, I cannot comment further.
thanks for your reply, the more stack ouput as follows:
input = r"X:\18_pp\test.tif"
output = r"X:\18_pp\testSeg.tif" (.kea is same erropr)
segutils.runShepherdSegmentation(input,output,gdalformat='KEA')
and the cmd information as follows:
Relabel clumps.
Opening clumps file: .\test_clump_elim.kea
Processing using Disk
ERROR 4: Attempt to create 'X:\18_pp\testSeg.tif' failed. Error: H5Fcreate failed
Traceback (most recent call last):
File "E:/Project/segUtils/HelloShepherd.py", line 18. in
segutils.runShepherdSegmentation(input,output,gdalformat='KEA')
File "C:\ProgramData\Anaconda3\envs\torch\lib\site-packages\rsgislib\segmentation\segutils.py" line 188, in runShepherdSegmentation rsgislib.segmentation.relabelClumps(elimClumpsFile, outputClumps, gdalformat, processInMem)
_segmentation.error: Could not create GDALDataset.
from rsgislib.
I would guess that the output path does not exist but without more information such as the whole stack output, I cannot comment further.
from rsgislib.
I would guess that the output path does not exist but without more information such as the whole stack output, I cannot comment further.
and i can get a lot intermediate file, but cannot running relabel
from rsgislib.
I solved this problem when I reinstalled the osgeo Lib, the relabel problem may lie in different dependent gdal libraries
from rsgislib.
Glad you were able to solve the problem. We'll be releasing RSGISLib v5 before too long so I'll double check the code to see if I can see anything which might have caused this issue to occur.
from rsgislib.
Glad you were able to solve the problem. We'll be releasing RSGISLib v5 before too long so I'll double check the code to see if I can see anything which might have caused this issue to occur.
Okay, I will try to use your V5 version then, thank you for your teamβs update
from rsgislib.
Related Issues (15)
- Error messages when running popImageStates on conda Windows 10 HOT 3
- Question for segment a particularly large remote sensing image HOT 1
- Problems with calc_clear_sky_regions HOT 1
- Segmentation Runtime Error HOT 3
- test_tools_ftptools failed with ftplib.error_proto HOT 5
- rasterization strategies in zonalstats funcs HOT 2
- Segmentation module seems to be broken .
- Pip compatibility HOT 3
- Confusion matrix for segmentation and classification example
- Divide by gamma?
- morphological closing requirement HOT 2
- band_math docs HOT 2
- Problem installing RSGISLIB HOT 1
- rsgislib.imageutils.stretch_img_with_stats HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsgislib.