Skip to content

add fb.resnet like transforms #26

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

Closed
wants to merge 1 commit into from
Closed

add fb.resnet like transforms #26

wants to merge 1 commit into from

Conversation

eladhoffer
Copy link
Contributor

No description provided.

if self.alphastd == 0:
return img

alpha = torch.Tensor(3).normal_(0, self.alphastd)

This comment was marked as off-topic.

This comment was marked as off-topic.

def __call__(self, img):
gs = Grayscale()(img.clone())
alpha = random.uniform(0, self.var)
img.lerp_(gs, alpha)

This comment was marked as off-topic.

@eladhoffer
Copy link
Contributor Author

Had some problems with fork (after move from private), so I recreated the pull request with the needed fixes

@eladhoffer eladhoffer closed this Jan 18, 2017
rajveerb pushed a commit to rajveerb/vision that referenced this pull request Nov 30, 2023
Spell-check and links to papers should always point to their summaries and not the pdf locations as the pdf locations can change
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

Successfully merging this pull request may close these issues.

2 participants