You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+26-35
Original file line number
Diff line number
Diff line change
@@ -23,20 +23,20 @@ ____
23
23
24
24
### 0. Installation
25
25
26
-
SIMRDWN is built to execute within a docker container on a GPU-enabled machine. We use an Ubuntu 16.04 image with CUDA 9.0, python 3.6, and tensorflow-gpu version 1.13.1.
26
+
SIMRDWN is built to execute within a docker container on a GPU-enabled machine. The docker command creates an Ubuntu 16.04 image with CUDA 9.0, python 3.6, and tensorflow-gpu version 1.13.1.
4. Spin up the docker container (see the [docker docs](https://docs.docker.com/engine/reference/commandline/run/) for options)
38
38
39
-
nvidia-docker run -it -v /simrdwn:/simrdwn --name simrdwn_container0 simrdwn
39
+
nvidia-docker run -it -v /simrdwn://simrdwn --name simrdwn_container0 simrdwn
40
40
41
41
5. Compile the Darknet C program for both YOLT2 and YOLT3.
42
42
@@ -58,9 +58,7 @@ Training data needs to be transformed to the YOLO format of training images in a
58
58
59
59
<object-class> <x> <y> <width> <height>
60
60
61
-
Where x, y, width, and height are relative to the image's width and height. Running a script such as _/simrdwn/core/parse\_cowc.py_ extracts training windows of reasonable size (usually 416 or 544 pixels in extent) from large labeleled images of the [COWC](https://gdo152.llnl.gov/cowc/) dataset. The script then transforms the labels corresponding to these windows into the correct format and creates a list of all training input images in _/simdwn/data/training\_list.txt_. Class integers are 0-indexex in YOLT, though they are 1-indexed in tensorflow; this can cause some confusion...
62
-
63
-
We also need to define the object classes with a .pbtxt file, such as _/simrdwn/data/class\_labels\_car.pbtxt_
61
+
Where x, y, width, and height are relative to the image's width and height. Running a script such as _/simrdwn/data\_prep_/parse\_cowc.py_ extracts training windows of reasonable size (usually 416 or 544 pixels in extent) from large labeleled images of the [COWC](https://gdo152.llnl.gov/cowc/) dataset. The script then transforms the labels corresponding to these windows into the correct format and creates a list of all training input images in _/data/train\_data/training\_list.txt_. We also need to define the object classes with a .pbtxt file, such as _/data/training\_data/class\_labels\_car.pbtxt_. Class integers should be 1-indexed in the .pbtxt file.
64
62
65
63
#### 1B. Create .tfrecord (optional)
66
64
If the tensorflow object detection API models are being run, we must transform the training data into the .tfrecord format. This is accomplished via the _simrdwn/core/preprocess\_tfrecords.py_ script.
@@ -83,32 +81,26 @@ Training can be run with commands such as:
The training script will create a results directory in _/simrdwn/results_ with the filename [framework] + [outname] + [date]. Since one cannot run TensorBoard with YOLT, we include scripts _/simrdwn/core/yolt_plot_loss.py_ and _/simrdwn/core/tf_plot_loss.py_ thatcan be called during training to inspect model convergence. An example convergence plot is shown below.
0 commit comments