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

NameError: name 'osr' is not defined #107

Open
xuhuanzy opened this issue Mar 6, 2022 · 7 comments
Open

NameError: name 'osr' is not defined #107

xuhuanzy opened this issue Mar 6, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@xuhuanzy
Copy link

xuhuanzy commented Mar 6, 2022

bug描述

克隆下来的4.1代码无法启动
PaddleSeg\EISeg\eiseg\plugin\remotesensing\shape.py报错NameError: name 'osr' is not defined
pip下载的可以正常启动

截屏
如果条件允许可以添加针对问题的截屏,可以帮助我们理解问题。

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

  • 系统:Windows
  • 安装方式:克隆代码&pip
  • 软件版本:4.1
@xuhuanzy xuhuanzy added the bug Something isn't working label Mar 6, 2022
@xuhuanzy xuhuanzy changed the title 加载base64解码的图像失败 NameError: name 'osr' is not defined Mar 6, 2022
@geoyee
Copy link
Member

geoyee commented Mar 6, 2022

请问gdal的版本是什么

@xuhuanzy
Copy link
Author

xuhuanzy commented Mar 6, 2022

请问gdal的版本是什么

gdal下不下来, 干脆拿了pip下载的文件覆盖了克隆的, 虽然还是没下载但成功启动了
请问未来有可能支持标注框显示标签吗?

@Xfinland
Copy link

Xfinland commented Mar 9, 2022

我是 docker pull registry.baidubce.com/paddlepaddle/paddle:2.2.2 这个镜像,也是报的同一个错误。。

@geoyee
Copy link
Member

geoyee commented Mar 10, 2022

目前暂时没更新了,在整合其他任务一个新的标注工具。因为遥感那些基本依赖gdal,所以没有gdal的话遥感的功能没法用,如果是windows可以在这里下然后安装。linux的话应该是比较好转的,据说conda就行

@geoyee
Copy link
Member

geoyee commented Mar 10, 2022

我是 docker pull registry.baidubce.com/paddlepaddle/paddle:2.2.2 这个镜像,也是报的同一个错误。。

这个感觉就是环境没gdal呀 (笑哭)

@Leon-Brant
Copy link

请问gdal的版本是什么

gdal下不下来,干脆拿了pip下载的文件覆盖了全长的,这还是没下载但成功启动了 未来有可能支持标注框显示标签吗?

据我所知,标注软件labelimg和labelme是支持在一个标注框中显示已标注的标签信息的。目前eiseg也支持在标注框中显示标注信息吗?

@Xfinland
Copy link

Xfinland commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants