Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pseudo_depth in the data_modules.py #37

Closed
chunqizhang opened this issue Dec 3, 2022 · 2 comments
Closed

pseudo_depth in the data_modules.py #37

chunqizhang opened this issue Dec 3, 2022 · 2 comments

Comments

@chunqizhang
Copy link

Dear Dr.Bian,
I train on my dataset with --val_mode photo, but I find the with_pseudo_depth=False in the data_modules. If it is False, will the pseudo_depth generated by the Leres effect?
Thank you very much for your patient reply!

elif self.hparams.hparams.val_mode == 'photo':
            self.val_dataset = TrainFolder(
                self.hparams.hparams.dataset_dir,
                train=False,
                transform=self.valid_transform,
                sequence_length=self.hparams.hparams.sequence_length,
                skip_frames=self.hparams.hparams.skip_frames,
                use_frame_index=self.hparams.hparams.use_frame_index,
                with_pseudo_depth=False
            )
@JiawangBian
Copy link
Owner

Pseudo-depth is only used for training. Here, for validation, I only use photometric loss, so the pseudo-depth is not used.

@chunqizhang
Copy link
Author

Pseudo-depth is only used for training. Here, for validation, I only use photometric loss, so the pseudo-depth is not used.

Thank you for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants