Now let’s generate our dataset! items = get_image_files(path_hr) parallel(Crappifier(path_lr, path_hr), items);
Let’s take a look at one of our generated images: bad_im = get_image_files(path_lr)
So he got those items and bad_im variables, but he didn’t use them in the:
he calls dblock.dataloaders with path_lr (mean path for the low resolution images). So your x is the low resolution images. Then the y image is the high resolution version of the x image by calling get_y = lambda x: path_hr/x.name (path_hr : path of high resolution image)
If I remember correctly, path_lr - which you mean source here - is where the path of your images located. path is where you want you model will be saved once finished.
This part I think the documentation should be more clear .
Where exactly can I find the most elaborated function’s implementation? I found some in the main site of it didn’t show all of those functions, arguments or else.
For instance, for “show_batch” I can press “View source” and it shows me its function in the package, but it didn’t show “figsize()” which I only found somewhere else
Because show_batch use matplotlib. You can see in the definition of show_batch this: **kwargs .This mean anything else others than the parameters defined in the function will be save in kwargs.
This pattern is very handy when you have a long list of parameters. However, you loose the readability. And unfortunately, matplotlib depends heavily on this syntax, that you can not easily know which parameters can be used.