Skip to content

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
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