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

问题求助 #9

Open
Lixin-yoo opened this issue Apr 18, 2024 · 14 comments
Open

问题求助 #9

Lixin-yoo opened this issue Apr 18, 2024 · 14 comments

Comments

@Lixin-yoo
Copy link

image
当我尝试在sysu数据集训练时,遇到这样的问题,请问为什么呢需要如何解决?谢谢!

@jacksonwu09
Copy link

我也是,我在本地可以跑,在服务器上也是遇到这样的问题,还没解决

@dyzy41
Copy link
Owner

dyzy41 commented Apr 19, 2024

This may be my oversight. I didn't write how to install mmsegmentation in the readme. But you actually need to follow the installation steps of mmsegmentation. For this error, I guess you can try,
pip install -v -e .

@jacksonwu09
Copy link

I followed the steps to operate
image
and it runs well on my own computer, but it keeps reporting this error on the server: Model not registered

@Lixin-yoo
Copy link
Author

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO?
image
image

@jacksonwu09
Copy link

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

@Lixin-yoo
Copy link
Author

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

@jacksonwu09
Copy link

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题
屏幕截图 2024-04-21 115506

我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

@gyl325
Copy link

gyl325 commented Apr 21, 2024

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题 屏幕截图 2024-04-21 115506

我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

使用conda install fiona安装gdal

@jacksonwu09
Copy link

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题 屏幕截图 2024-04-21 115506
我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

使用conda install fiona安装gdal

我使用conda install gdal和conda install fiona 安装,但是运行train_changeclip还是现实gdal is not installed

@dyzy41
Copy link
Owner

dyzy41 commented Apr 22, 2024

I have also encountered this bug with gdal. One of the most direct ways is to use imageio to read image data instead of gdal.

@Lixin-yoo
Copy link
Author

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题 屏幕截图 2024-04-21 115506
我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

使用conda install fiona安装gdal

我使用conda install gdal和conda install fiona 安装,但是运行train_changeclip还是现实gdal is not installed

gdal我本地安装了3.8.4的版本,没有遇到这个问题!

@jacksonwu09
Copy link

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题 屏幕截图 2024-04-21 115506
我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

使用conda install fiona安装gdal

我使用conda install gdal和conda install fiona 安装,但是运行train_changeclip还是现实gdal is not installed

gdal我本地安装了3.8.4的版本,没有遇到这个问题!

好吧,我等下试试看,我本地train.py是可以跑的,然后train_changeclip.py不行,您的changeclip和mmsegmentation是放在同一个文件夹中还是mmsegmentation放在changeclip中

@jacksonwu09
Copy link

I have also encountered this bug with gdal. One of the most direct ways is to use imageio to read image data instead of gdal.

好的,我先再试试,不行就用imageio

@Lixin-yoo
Copy link
Author

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题 屏幕截图 2024-04-21 115506
我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

使用conda install fiona安装gdal

我使用conda install gdal和conda install fiona 安装,但是运行train_changeclip还是现实gdal is not installed

gdal我本地安装了3.8.4的版本,没有遇到这个问题!

好吧,我等下试试看,我本地train.py是可以跑的,然后train_changeclip.py不行,您的changeclip和mmsegmentation是放在同一个文件夹中还是mmsegmentation放在changeclip中

mmseg放在ChangeCLIP项目之下

Thanks, this problem has been resolved! But I seem to have a new problem with training! But the background value of levir-cd is just 0 and the value of the change region is 255. why the hint is not a subset in METAINFO? image image

您是怎么解决的,能否具体说下吗

我把mmcv降到了2.0.1,然后pip install -v -e . 这个问题就没了,但是又出现了新的问题......

好的,谢谢,我也可以跑了 但是在跑的过程中又遇到这样的问题 屏幕截图 2024-04-21 115506
我在本地安装的是gdal3.6.2,然后我在服务器上也尝试安装3.6.2,但是运行过程中显示gdal未安装,我按照网上的各种gdal方法安装,还是不行,我想请问下你有遇到这种问题吗

使用conda install fiona安装gdal

我使用conda install gdal和conda install fiona 安装,但是运行train_changeclip还是现实gdal is not installed

gdal我本地安装了3.8.4的版本,没有遇到这个问题!

好吧,我等下试试看,我本地train.py是可以跑的,然后train_changeclip.py不行,您的changeclip和mmsegmentation是放在同一个文件夹中还是mmsegmentation放在changeclip中

mmseg放changeclip里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants