Skip to content

Training and prediction of the "CREMI" data set. PART 2 #13

Description

@ravil-mobile

Hello, one more time. I decided to be more precise and wrote down the exact steps that I did. The problem that I described in the previous issue still remains but I hope that information will be useful in debugging the code

We did the following steps:

  1. all diluvian and tensorflow packages were removed from the system. All files
    were also removed from /user/.keras/dataset

  2. Following the instruction, diluvian was installed as following:
    pip install diluvian

    ... Installing collected packages: tensorflow, diluvian Successfully installed diluvian-0.0.3 tensorflow-1.1.0
  3. At the next step tensorflow-gpu was installed:
    pip install 'tensorflow-gpu==1.2.1'

    ... Installing collected packages: tensorflow-gpu Successfully installed tensorflow-gpu-1.2.1
  4. I ran diluvian with the default arguments to check whether everything worked ok

    diluvian train

    the "cremi" database was downloaded from the website and diluvian ran just
    for two epochs

    During the trail run I got the following warning:
    "/user/anaconda2/lib/python2.7/site-packages/keras/callbacks.py:120:
    UserWarning: Method on_batch_end() is slow compared to the batch update (1.893568).
    Check your callbacks."

  5. I generated the convig file to change the number of epochs and run the training for a long term

    diluvian check-config > myconfig.toml

    <myconfig.toml>
    ...
    total_epochs = 1000
    ...
    num_gpus = 2
    ...
    

    diluvian train -c ./myconfig.toml

    By default, the u-net architecture was chosen:

    <myconfig.toml>
    ...
    factory = "diluvian.network.make_flood_fill_unet"
    ...
    

    The training was terminated automatically at the 76th epoch
    the values of loss and validation loss were about the same ( 0.63 )

  6. At the next step I ran the prediction mode to estimate how good the training
    was.

    diluvian fill -c ./myconfig.roml -m ./model-output.hdf5 ./file-{volume}

    where file-{volume} was just a dummy that contained nothing. As far as
    I understood diluvian takes the file to name the output files (*.hdf5)

7 Results:
At the end of the filling procedure I got three files as the output.
The problem is that all of them contain only zeros. Basically it means
that the output mask was not predicted

IMPORTANT: 
1) even reducing the learning rate during the training doesn't
help to improve the result of both prediction and training

2) ffn architecture produced the same result that u-net did

3)  we tried to run deluvian with different data set but the result was about the same

Please, can you tell us where a bug can be or what we’re doing wrong?

Thanks in advance

Best regards,
Ravil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions