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

Celeba and Label-dependent transformations. #236

Merged
merged 7 commits into from
Jan 14, 2020
Merged

Conversation

tmke8
Copy link
Member

@tmke8 tmke8 commented Jan 8, 2020

No description provided.

@tmke8 tmke8 changed the title [Myles] Celeba and Label-dependent transformations. Celeba and Label-dependent transformations. Jan 9, 2020
@tmke8
Copy link
Member Author

tmke8 commented Jan 9, 2020

Tests pass!

@tmke8 tmke8 requested a review from olliethomas January 9, 2020 20:02
run_mypy.py Show resolved Hide resolved
ethicml/vision/__init__.py Show resolved Hide resolved
greyscale=False,
)

augmented_data = colorizer(data, labels)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are there any assertions that you can make about the augmented data?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such assertions would be easy enough to devise despite my earlier grounsing about it. To check its basic functionality, for instance, simply apply the transform with scale 0 to matrices of zeroes, one for each colour and check for correspondence with the predefined mean rgb values.

@olliethomas
Copy link
Member

Should we get this merged in?

@MylesBartlett
Copy link
Contributor

If it's up to your standards, absolutely.

@olliethomas
Copy link
Member

@thomkeh ?

@tmke8
Copy link
Member Author

tmke8 commented Jan 14, 2020

Yeah, maybe put a to-do in the test.

Co-Authored-By: thomkeh <7741417+thomkeh@users.noreply.github.com>
@tmke8
Copy link
Member Author

tmke8 commented Jan 14, 2020

Sorry, that to-do comment wasn't properly indented. My fault!

@MylesBartlett
Copy link
Contributor

It wasn't even a comment!

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.

None yet

3 participants