Giter Club home page Giter Club logo

Comments (5)

sgasperini avatar sgasperini commented on June 2, 2024 2

Hi @RuiTianHIT,

Thank you for your interest in our work. We are glad you could reproduce our method.

The console output you shared indicates the number of scenes in the dataset used for training and validation. It does not show the number of images (which are much more), and it does not include the translated images. As intended, the number of original night scenes is 0. This is because the night inputs we use during training are only the translated ones. Specifically, the exact number of translated inputs depends on the randomness of each iteration (according to x%), so it can only be estimated, and we do not print it out. Nevertheless, the amount of available translated scenes is the same as the number of scenes used for training (i.e., train-day-clear).

As we reported in issue #8, the random mix of translated and original easy inputs is regulated by the x%, and in the code that happens in the function linked here. The amount is specified in the configuration files (e.g., here).

We hope this helps clear up your doubts. Feel free to ask us follow-up questions.

from md4all.

RuiTianHIT avatar RuiTianHIT commented on June 2, 2024 2

@sgasperini @morbi25 Thank you very much for your reply. We will study your work according to your help!

from md4all.

RuiTianHIT avatar RuiTianHIT commented on June 2, 2024

@sgasperini @morbi25 We are working on your code now, but there are a few problems, and the attached debug procedure shows our confusion
(1) During the training of md4all(distillation stage), we found that is_train=False, which is shown in the attachment
(2) At the same time, every input is day-clear, why is there no image representation after mix
(3) In the attachment, we also record our configuration file, which should be the input based on probability
123
Screenshot from 2023-10-27 17-46-54
Screenshot 2023-10-27 17_44_10
Looking forward to your reply, thank you very much!

We set a breakpoint in the process of running the mix, but the breakpoint has been running for a long time without entering it. We are very confused about this problem and look forward to your reply. We are very interested in this work.

456

from md4all.

sgasperini avatar sgasperini commented on June 2, 2024

Hi @RuiTianHIT,

From your screenshots, it looks like you are debugging a validation step and not a training step.
image

You are seeing is_train set to False without any translated input, likely due to a default feature of PyTorch Lightning (PL), that executes a few validation iterations before the actual training begins. You can prevent this behavior via the PL Trainer parameters or wait for it to end.

Once the initial validation checks are done, the training steps should become more apparent, and you should see the mix of original and translated inputs that you are referring to. In PyCharm, you can set breakpoints to activate under specific conditions (via a right-click on the breakpoint), e.g., to focus on the training process.

We hope this helps explain things.

from md4all.

sgasperini avatar sgasperini commented on June 2, 2024

Closing for inactivity. Feel free to reopen this issue or a new one if you have other questions.

from md4all.

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.