A car segmentation fully convolutional network
In order to execute this code the following python libraries are needed:
- tensorflow
- ...
- otros
Install the necessary packages to get the dataset:
$ apt install wget unzip
Then, inside de repository folder execute
$ data/get_data.sh
Alternatively, you can download the dataset from here, and decompress it in data/ig02-cars.
The code is distributed in four files:
The network architecture is implemented in this file. If you want to change something related to the architecture (layers, loss function, etc) this is the place.
The dataset preprocessing happens here, to modify anything related with the input to the network, you can do it here.
This is the script that must be executed to train the network.
$ python fcn_train.py
Attention: This script will destroy previous training checkpoints
If you want to watch the progress, run
$ tensorboard --logdir=/tmp/ig02_train
You can change the logdir modifing a line in fcn_train.py, remember to modify accordingly fcn_eval.py as well.
This is the script that evaluates the network being trained using the evaluation set.
$ python fcn_eval.py
Attention: This script will destroy previous evaluating checkpoints
If you want to watch the progress, run
$ tensorboard --logdir=/tmp/ig02_eval