dyzy41 / ChangeCLIP

Apache License 2.0
60 stars 1 forks source link

问题求助 #9

Open Lixin-yoo opened 4 months ago

Lixin-yoo commented 4 months ago

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

jacksonwu09 commented 4 months ago

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

dyzy41 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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里