Code Monkey home page Code Monkey logo

changestar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

changestar's Issues

How to get the label?

Hello Author!
How is the Change Label of Image-Wise in the figure below (b) get it?Is it obtained through the Mask semantic label of two pictures?If so, the label in the (A) figure should be easily obtained like this. If so, how to explain Sentences in your paper:"However, Pairwise Labeling Large-SCALE and HIGH-QULITY BITEMPORAL HSR Remote Sensing Images Is Very Expensive and Time-Consuming? "

image

Some questions about table 1 of the paper

The picture mentioned in the paper is a comparison between changestar and some segmentation model FPN for change detection. It may be that I don't know much about segmentation. how Can the segmentation network mentioned in the table be used for change detection? How are they compared? I hope the author can explain, thank you!

image

关于使用ever库中的infer_tool工具

大佬您好!
我在使用ever库中的infer_tool工具中的build_and_load_from_file函数加载模型数据和权重时,出现如下错误:
dee0d9c3efa1ccdf97faa994c390578
显示“ChangeStar不支持”,你有什么解决办法么,或者知道错误出现在哪么。感谢!!

Can ChangeStar be used for general CD?

hi,

Thanks for the great work.
I wonder, can this work be used for general change detection? i.e., multi-class not just single class.

If yes, do you have done the experiments? Thanks!

预测

你好呀,请问一下,可以分享一下单独的预测代码不

hello, how to add changemixin when use bitemporal supervised

hello I have question about your repo:

  1. how to add changeminxin when use bitemporal supervised, i see it in your paper table 4 but i cant find in codes?
  2. could changestar use LEVIR-CD train Single-Temporal(another dataset is too big for train, i cant download it)
  3. are your bitemporal suprvised methods just use torch.cat in the final layer?
    sorry for ask these question,

Evaluation

Excuse me,
I want to know how this module behave inference after training the model. And if you can offer an link for usage of 'ever' Lib, that will be fantastic

Cant't download the xView2 dataset.

你好,我无法下载那个xView2的数据集,每次下到大概1/3就会报错,显示网络错误。请问有什么好的建议吗?

国内用户,Chrome浏览器和迅雷都试过了。

训练结果为0

作者您好,我采用bash ./scripts/bisup_levircd/r50_farseg_changemixin.sh 训练后结果都是0是什么原因
2021-10-26 14-19-04 的屏幕截图

Questions about PCC series

Dear author:
In your result part, what does the PCC series stand for? Could you show me some papers to know about that? Thank you a lot!
Regards:
L

Reproduction Problem

Hello author.

Your work is great!

But I ran into a problem while running your code.

The performance came as shown in the picture below, but this number is much higher than the number in table1 of your paper. (IoU) Can you tell me the reason?
Screen Shot 2022-01-01 at 7 44 17 PM

All hyperparameters and data are identical.

pretrained weights

Hello, your paper is enlightening to me very well. Have you ever considered releasing the pretrained weights ?

LEVIR-CD structure

hi, I'd like to ask how you organized the LEVIR-CD dataset.
您好!我想问一下LEVIR-CD是如何组织的。train/val/test下的子文件夹里的图像是合并在一块了吗?label子文件夹如何处理?

RuntimeError: NCCL error in: /pytorch/torch/lib/c10d/ProcessGroupNCCL.cpp:911, unhandled system error, NCCL version 2.7.8

i have crazy,help me please

Traceback (most recent call last):
File "./train_sup_change.py", line 48, in
blob = trainer.run(after_construct_launcher_callbacks=[register_evaluate_fn])
File "/home/cy/miniconda3/envs/STAnet/lib/python3.8/site-packages/ever/api/trainer/th_amp_ddp_trainer.py", line 98, in run
kwargs.update(dict(model=self.make_model()))
File "/home/cy/miniconda3/envs/STAnet/lib/python3.8/site-packages/ever/api/trainer/th_amp_ddp_trainer.py", line 87, in make_model
model = nn.parallel.DistributedDataParallel(
File "/home/cy/miniconda3/envs/STAnet/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 496, in init
dist._verify_model_across_ranks(self.process_group, parameters)
RuntimeError: NCCL error in: /pytorch/torch/lib/c10d/ProcessGroupNCCL.cpp:911, unhandled system error, NCCL version 2.7.8
ncclSystemError: System call (socket, malloc, munmap, etc) failed.
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 31335) of binary: /home/cy/miniconda3/envs/STAnet/bin/python
ERROR:torch.distributed.elastic.agent.server.local_elastic_agent:[default] Worker group failed

可视化效果

武大的大佬好,能否百忙之中分享一下可视化程序,感谢感谢

AssertionError error

Hello, this is really great work. I have one question for you. The LEVIR-CD dataset trains well, but the xview2 dataset gives the following unknown error.

Do you have any idea how to fix it? All processes follow the recipe exactly
Screen Shot 2021-12-31 at 4 57 41 PM
.

ValueError: Requested crop size (512, 512) is larger than the image size (384, 384)

Traceback (most recent call last):
File "./train_sup_change.py", line 48, in
blob = trainer.run(after_construct_launcher_callbacks=[register_evaluate_fn])
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/ever/api/trainer/th_amp_ddp_trainer.py", line 117, in run
test_data_loader=kw_dataloader['testdata_loader'])
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/ever/core/launcher.py", line 232, in train_by_config
signal_loss_dict = self.train_iters(train_data_loader, test_data_loader=test_data_loader, **config)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/ever/core/launcher.py", line 174, in train_iters
is_master=self._master)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/ever/core/iterator.py", line 30, in next
data = next(self._iterator)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 435, in next
data = self._next_data()
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 475, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/utils/data/dataset.py", line 218, in getitem
return self.datasets[dataset_idx][sample_idx]
File "/home/yujianzhi/tem/ChangeStar-master/data/levir_cd/dataset.py", line 30, in getitem
blob = self.transforms(**dict(image=imgs, mask=gt))
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/albumentations/core/composition.py", line 191, in call
data = t(force_apply=force_apply, **data)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/albumentations/core/transforms_interface.py", line 90, in call
return self.apply_with_params(params, **kwargs)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/albumentations/core/transforms_interface.py", line 103, in apply_with_params
res[key] = target_function(arg, **dict(params, **target_dependencies))
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/albumentations/augmentations/crops/transforms.py", line 48, in apply
return F.random_crop(img, self.height, self.width, h_start, w_start)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/albumentations/augmentations/crops/functional.py", line 28, in random_crop
crop_height=crop_height, crop_width=crop_width, height=height, width=width
ValueError: Requested crop size (512, 512) is larger than the image size (384, 384)
Traceback (most recent call last):
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/distributed/launch.py", line 260, in
main()
File "/home/yujianzhi/anaconda3/envs/CStar/lib/python3.7/site-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/home/yujianzhi/anaconda3/envs/CStar/bin/python', '-u', './train_sup_change.py', '--local_rank=0', '--config_path=levircd.r50_farseg_changestar_bisup', '--model_dir=./log/bisup-LEVIRCD/r50_farseg_changestar']' returned non-zero exit status 1.

it says: ValueError: Requested crop size (512, 512) is larger than the image size (384, 384)
but my img is 512*512 exactly.

A question about PCC

Hello,I have a question about PCC:

PCC is mentioned in the paper. After obtaining the classification result through the segmentation model, how to obtain the change detection result through the classification result? Is it a direct subtraction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.