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

Base generator #48

Merged
merged 4 commits into from
Apr 17, 2020
Merged

Base generator #48

merged 4 commits into from
Apr 17, 2020

Conversation

urs-waldmann
Copy link
Contributor

Hi Jake!

I think I found two minor fixes for the documentation of two functions in BaseGenerator.py. In general you can pass multiple indexes to get_images() and get_keypoints(). Therefore documentations should say dimension is (n_indexes, ...) instead of (1, ...) I guess.

Best,
Urs

Fix dimensions of __doc__ attribute from (1, height, width, n_channels) to (n_indexes, height, width, n_channels).
Fix dimensions of __doc__ attribute from (1, n_keypoints, 2) to (n_indexes, n_keypoints, 2).
@jgraving
Copy link
Owner

Thanks, but should be n_samples rather than n_indexes

@urs-waldmann
Copy link
Contributor Author

urs-waldmann commented Apr 17, 2020 via email

Fix dimensions of __doc__ attribute from (n_indexes, height, width, n_channels) to (n_samples, height, width, n_channels).
Fix dimensions of __doc__ attribute from (n_indexes, n_keypoints, 2) to (n_samples, n_keypoints, 2).
@urs-waldmann
Copy link
Contributor Author

I updated to n_samples.

@jgraving jgraving merged commit 94b8390 into jgraving:master Apr 17, 2020
@urs-waldmann urs-waldmann deleted the BaseGenerator branch April 20, 2020 06:51
This pull request was closed.
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