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

how get the "noise image feature"? #6

Open
FutureWithoutEnding opened this issue Nov 7, 2022 · 2 comments
Open

how get the "noise image feature"? #6

FutureWithoutEnding opened this issue Nov 7, 2022 · 2 comments

Comments

@FutureWithoutEnding
Copy link

In the code, noise image feature is load from file.
how can i generate the noise image feature?

In the paper, said generate from a uniform distribution from 0 to 3, why 0 and 3, How get the two value? and Why use a uniform?

Can you show me some code about these?

@TysonYu
Copy link
Member

TysonYu commented Nov 16, 2022

Maybe you can search on google with "How to create random value tensor in PyTorch?"

@FutureWithoutEnding
Copy link
Author

I know some about
noise_img_feat = np.random.uniform(0, 3, img_feat_shape)

But, I do not konw Why uniform and Why 0 ~ 3?

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