GithubHelp home page GithubHelp logo

data preparation about semicd HOT 8 CLOSED

wgcban avatar wgcban commented on May 23, 2024
data preparation

from semicd.

Comments (8)

wgcban avatar wgcban commented on May 23, 2024

Hi @rfww

I have released the data preparation codes here https://github.com/wgcban/SemiCD/tree/main/dataset_preparation.
This reads original LEVIR-CD and DSIFN-CD datasets and creates non-overlapping patches of 256x256 for training.

However, you don't need to do this. I have uploaded all the processed datasets into the DropBox and you can download exact splits from there. As I mentioned in the readme file,

The processed LEVIR-CD dataset, and supervised-unsupervised splits can be downloaded here.

The processed WHU-CD dataset, and supervised-unsupervised splits can be downloaded here.

Please let me know if you face any trouble when downloading the datasets.

Best,
Chaminda.

from semicd.

rfww avatar rfww commented on May 23, 2024

Thanks a lot. i just want to make clear of the pseudo label generation. forgive me for not reading your paper carefully.😊😊😊

from semicd.

wgcban avatar wgcban commented on May 23, 2024

Hi @rfww

No problem. Just for better clarity, our semi-supervised CD method does not require pseudo labels for the training process and it is relied on a consistency-based loss function to leverage the information from unlabeled data as shown in Fig. 3. That means, instead of using pseudo labels to compute unsupervised loss, we make change prediction maps of unlabeled data to be the same under the random perturbations applied to the feature difference map via MSE loss. I hope this clarifies your question. Feel free to comment here if you have more doubts.

Best
Chaminda

Fig 3:
method

from semicd.

rfww avatar rfww commented on May 23, 2024

ok, thanks for your explanation. πŸ™‡β€πŸ™‡β€πŸ™‡β€

from semicd.

Yanll2021 avatar Yanll2021 commented on May 23, 2024

Hi @rfww

I have released the data preparation codes here https://github.com/wgcban/SemiCD/tree/main/dataset_preparation. This reads original LEVIR-CD and DSIFN-CD datasets and creates non-overlapping patches of 256x256 for training.

However, you don't need to do this. I have uploaded all the processed datasets into the DropBox and you can download exact splits from there. As I mentioned in the readme file,

The processed LEVIR-CD dataset, and supervised-unsupervised splits can be downloaded here.

The processed WHU-CD dataset, and supervised-unsupervised splits can be downloaded here.

Please let me know if you face any trouble when downloading the datasets.

Best, Chaminda.

your dataset WHU-CD seems to be missing more than 100 pieces, and your processed dataset are 5947/743/744 for tarin/val/test, but it should be 6096/762/762 for train/val/test. If it is convenient for you, could you check it again? Maybe I made a mistake in my calculation. Thank you!

from semicd.

wulei1595 avatar wulei1595 commented on May 23, 2024

your dataset WHU-CD seems to be missing more than 100 pieces

Hi @rfww

I have released the data preparation codes here https://github.com/wgcban/SemiCD/tree/main/dataset_preparation. This reads original LEVIR-CD and DSIFN-CD datasets and creates non-overlapping patches of 256x256 for training.

However, you don't need to do this. I have uploaded all the processed datasets into the DropBox and you can download exact splits from there. As I mentioned in the readme file,

The processed LEVIR-CD dataset, and supervised-unsupervised splits can be downloaded here.

The processed WHU-CD dataset, and supervised-unsupervised splits can be downloaded here.

Please let me know if you face any trouble when downloading the datasets.

Best, Chaminda.

your dataset WHU-CD seems to be missing more than 100 pieces. The WHU-CD dataset of the original BIT is a total of 7620 images, but your WHU-CD dataset has only 7434 images.

from semicd.

wulei1595 avatar wulei1595 commented on May 23, 2024

Hi @rfww
I have released the data preparation codes here https://github.com/wgcban/SemiCD/tree/main/dataset_preparation. This reads original LEVIR-CD and DSIFN-CD datasets and creates non-overlapping patches of 256x256 for training.
However, you don't need to do this. I have uploaded all the processed datasets into the DropBox and you can download exact splits from there. As I mentioned in the readme file,
The processed LEVIR-CD dataset, and supervised-unsupervised splits can be downloaded here.
The processed WHU-CD dataset, and supervised-unsupervised splits can be downloaded here.
Please let me know if you face any trouble when downloading the datasets.
Best, Chaminda.

your dataset WHU-CD seems to be missing more than 100 pieces, and your processed dataset are 5947/743/744 for tarin/val/test, but it should be 6096/762/762 for train/val/test. If it is convenient for you, could you check it again? Maybe I made a mistake in my calculation. Thank you!

Have you solved the problem of this lack of data sets

from semicd.

rfww avatar rfww commented on May 23, 2024

Hi @wulei1595
I remember not providing the WHU BCD dataset for you. Right? I cropped the image with the resolution of 32507Γ—15354 to 256Γ—256 patches without overlap. Then, we can get 7620 small patches. Details as below:
training set:
the number of changed image pairs: 1730
the number of unchanged image pairs: 5129 (The ground truth is all black.)
testing set:
the number of changed image pairs: 192
the number of unchanged image pairs: 569
The total number of these patches is 7620. The dataset details listed in BiT are just the number of each subset cropped image patches. We need to remove the unchanged image pairs during the change detection model training (Especially for the CrossEntropy loss function). We used this dataset in a data augmentation work BGMix. If you have any concerns about using this dataset. Please let me know. By the way, our cropped data can be downloaded here.

from semicd.

Related Issues (9)

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.