Git Product home page Git Product logo

Comments (2)

likyoo avatar likyoo commented on July 27, 2024

Thanks for your attention, you can refer here.

from open-cd.

crystallo3921 avatar crystallo3921 commented on July 27, 2024

Thanks for your attention, you can refer here.

Thank you so much for your prompt reply. I would like to provide more specific details regarding my question. When I modify the line from 'test_cfg=dict(mode='whole')' to 'test_cfg=dict(mode='slide', crop_size=crop_size, stride=(crop_size[0]//2, crop_size[1]//2))', I would like to know how the remaining test configuration parameters should be adjusted accordingly.

Because I intend to switch the test dataset to two large-sized images,without labels, what changes should I make to the test_dataset parameters? The origin test_dataset in config is:

test_dataloader = dict(
batch_size=1,
num_workers=4,
persistent_workers=True,
sampler=dict(type='DefaultSampler', shuffle=False),
dataset=dict(
type='LEVIR_CD_Dataset',
data_root='data/LEVIR-CD',
data_prefix=dict(
seg_map_path='test/label',
img_path_from='test/A',
img_path_to='test/B'),
pipeline=[
dict(type='MultiImgLoadImageFromFile'),
dict(type='MultiImgResize', scale=(1024, 1024), keep_ratio=True),
dict(type='MultiImgLoadAnnotations'),
dict(type='MultiImgPackSegInputs')
]))

Should I modify the dataset type('LEVIR_CD_Dataset') or create a customized dataset?

Additionally, could you please advise on any other parameters that are relevant to the test section and may require modification?

from open-cd.

Related Issues (20)

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.