paritosh5feb

Results 7 comments of paritosh5feb

Hi everyone! I am trying to write a CNN (U-Net) in Flux ML Library of Julia. However the first hurdle that I am facing is, how to load images from...

> You can look at UNet.jl Can you tell me how to load the images from the folder for training the model. Like there was flowfromdirectory function in Keras (python).

Can I use the load_batch function to output x_train, y_train, so that both could be fed in the - DataLoader(x_train, y_train, batchsize=N) to create the full data_set

My Data directory is structured as follows:- data/train/images - contains images named as follows:- id.png data/train/masks - contains the corresponding masks named as follows:- id.png data/train.csv - contains names of...

Well, would this function be correct, if I want to load all the images at once and then feed x_train, y_train to DataLoader function:- ```julia function load_data(base_dir, n) img_dir =...

> So you'd use the CSV to generate valid paths to the data and corresponding labels and shoot that to load_img (quite possibly you'll broadcast over a vector of strings...

I wrote this function based on the load_batch() function. But why is this function only returning array filled with zeroes. ```julia function load_data(base_dir, n, rsize = (101,101)) img_dir = "images/"...