Closed pritish-leia closed 4 years ago
The ipython notebook is not showing up in diff-view due to the large size. On downloading and playing around with it..
_read_holopix50k_ids
, find_split_from_id
, and download_image_pair
require the docstring commentsMODE=side_by_side|animated
instead of side_by_side=T|F
Overall LGTM. A question from me is why we use
__call__()
here?
@OwenHua666 So if we repeatedly want to visualize image pairs, we need to save its state (downloader, save path) in the class. And since some visualizer.visualize()
would have been the only callable function and the primary function of the class, I decided to use __call__
here instead.
Sounds good.
On Mon, Mar 23, 2020 at 19:23 pritish-leia notifications@github.com wrote:
Overall LGTM. A question from me is why we use call() here?
@OwenHua666 https://github.com/OwenHua666 So if we repeatedly want to visualize image pairs, we need to save its state (downloader, save path) in the class. And since some visualizer.visualize() would have been the only callable function and the primary function of the class, I decided to use call here instead.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/LeiaInc/holopix50k/pull/3#issuecomment-602970696, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDP2542UW7QHXVAHP6OJJTRJAKTVANCNFSM4LSJ2WZA .
The ipython notebook is not showing up in diff-view due to the large size. On downloading and playing around with it..
- script assumes we have the IDs in the previous folder. We should clarify this assumption.
_read_holopix50k_ids
,find_split_from_id
, anddownload_image_pair
require the docstring comments- For the visualizer, it is unclear that the default mode is animated. Perhaps we can specify
MODE=side_by_side|animated
instead ofside_by_side=T|F
@PuneetKohli Will make the changes.
I am fine to merge this in, and we can review the changes as an additonal PR (so that it will show up in Github UI as well) 👍
The ipython notebook is not showing up in diff-view due to the large size. On downloading and playing around with it..
- script assumes we have the IDs in the previous folder. We should clarify this assumption to the reader as a pre-requisite.
_read_holopix50k_ids
,find_split_from_id
, anddownload_image_pair
require the docstring comments- For the visualizer, it is unclear that the default mode is animated. Perhaps we can specify
MODE=side_by_side|animated
instead ofside_by_side=T|F
We can also make the path of the ids files as the class arguments with defaults for better generosity.
The ipython notebook is not showing up in diff-view due to the large size. On downloading and playing around with it..
- script assumes we have the IDs in the previous folder. We should clarify this assumption to the reader as a pre-requisite.
_read_holopix50k_ids
,find_split_from_id
, anddownload_image_pair
require the docstring comments- For the visualizer, it is unclear that the default mode is animated. Perhaps we can specify
MODE=side_by_side|animated
instead ofside_by_side=T|F
We can also make the path of the ids files as the class arguments with defaults for better generosity.
@OwenHua666 Didn't understand this. Right now, I have them as class arguments with defaults. Unless you meant something else.
I mean we don’t have to change those har coded parameters if we want to visualize a subset of the ids or a new set of ids.
On Mon, Mar 23, 2020 at 22:36 pritish-leia notifications@github.com wrote:
The ipython notebook is not showing up in diff-view due to the large size. On downloading and playing around with it..
- script assumes we have the IDs in the previous folder. We should clarify this assumption to the reader as a pre-requisite.
- _read_holopix50k_ids, find_split_from_id, and download_image_pair require the docstring comments
- For the visualizer, it is unclear that the default mode is animated. Perhaps we can specify MODE=side_by_side|animated instead of side_by_side=T|F
We can also make the path of the ids files as the class arguments with defaults for better generosity.
@OwenHua666 https://github.com/OwenHua666 Didn't understand this. Right now, I have them as class arguments with defaults. Unless you meant something else.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LeiaInc/holopix50k/pull/3#issuecomment-603026540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDP255P3FZRW5V3SF4S3ZLRJBBEXANCNFSM4LSJ2WZA .
Added visualizer notebook for Holopix50k.
The
Holopix50kVisualizer
uses aHolopix50kDownloader
object to temporarily download an image pair inimages/
. You can view the image pair either animated in an alternative way or placed side by side. You can also chose which Holopix50k split to download the image pair from.