Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lext authored Oct 22, 2017
1 parent 4c7e848 commit ae6cfba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ Osteoarthritis (OA) is the 11th highest disability factor and it is associated w

Here we present the training codes and the pretrained models from each of our experiments. Please, see the paper for more details.

To run the experiments, you should have the following main demendencies:
To train the networks, you should install the following main dependencies:

* pytorch
* Python 3
* pytorch with CUDA support
* PIL
* matplotlib
* Jupyter Notebook (to work with attention maps)
Expand All @@ -23,10 +24,14 @@ To run the experiments, you should have the following main demendencies:
* termcolor
* torchvision

run corresponding bash files to obtain the results (validation is visualized in visdom).
We recommend to create a virtual environment with the aforemention packages. To run the training, run the corresponding bash files (validation is visualized in visdom). Before running, edit the beginnign of the file to activate your virtual environment.

However, you can run the codes as they are and just use the parameters fixed in the bash scripts.

## Attention maps examples
Our model learns localized radiological findings as we imposed prior anatomical knowledge to teh network architecture. Here are some examples of attention maps and predictions (Kellgren-Lawrence grade 2 ground truth):

<img src="https://github.com/lext/DeepKnee/blob/master/pics/15_2_R_1_1_1_3_1_0_own.jpg" width="260"/> <img src="https://github.com/lext/DeepKnee/blob/master/pics/235_2_R_3_3_0_0_1_1_own.jpg" width="260"/> <img src="https://github.com/lext/DeepKnee/blob/master/pics/77_2_R_2_0_0_0_0_1_own.jpg" width="260"/>
## License

This code is freely available only for research purpuses.
Expand Down

0 comments on commit ae6cfba

Please sign in to comment.