PaddleCV-SIG / EISeg

高效交互式语义分割标注软件EISeg 『Efficient and intelligent interactive segmentation annotation software』
https://github.com/PaddleCV-SIG/EISeg/wiki
Apache License 2.0
341 stars 50 forks source link

加载tif格式文件后闪退 #104

Open rainoo opened 2 years ago

rainoo commented 2 years ago

bug描述 eiseg的0.4.1.2版本,按照目的文档,使用GDAL-3.4.1-cp37-cp37m-win_amd64.whl安装gdal,使用conda install rasterio安装完毕。 conda install rasterio这个要求python版本是3.7,之前用的3.9,3.8的都安装失败。

复现方法 如bug描述

截屏 下边是控制台错误提示。eiseg直接闪退。 image

运行环境(请尽量填写,这可以帮助我们定位问题):

Youssef-Harby commented 2 years ago

Try to run gdalinfo --version in terminal If installed, make sure to add proj path folder in windows env if not, try to follow these instructions to install GDAL on Windows https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows

rainoo commented 2 years ago

image I use pip install to install eiseg,not project in local.

‘’‘ add proj path folder in windows env ‘’‘

How should can I do ?

rainoo commented 2 years ago

I am not sure the proj path where I installed

geoyee commented 2 years ago

I am not sure the proj path where I installed

请检查一下这个数据,我想大概你是装好了环境的,问题在于这个数据的crs可能为None,所以无法访问到它的wkt。我刚刚尝试把一个jpg图像改成tif,我收到了和你同样的错误。

geoyee commented 2 years ago

@rainoo 请试试现在的呢,当crs为空的时候也能加载,就是保存shp会提示无法保存