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

What do the float numbers in unpreprocess function mean? (in train.py) #12

Open
Yuchen-Song opened this issue May 3, 2023 · 0 comments

Comments

@Yuchen-Song
Copy link

Where do these float numbers come from? I could not find any reference to them.

MVSNet_pl/train.py

Lines 32 to 41 in b18b5ee

class MVSSystem(pl.LightningModule):
def __init__(self, hparams):
super(MVSSystem, self).__init__()
self.hparams = hparams
# to unnormalize image for visualization
self.unpreprocess = T.Normalize(mean=[-0.485/0.229, -0.456/0.224, -0.406/0.225],
std=[1/0.229, 1/0.224, 1/0.225])
self.loss = loss_dict[hparams.loss_type](ohem=True, topk=0.6)

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

1 participant