Skip to content

Commit

Permalink
added the pretrained model
Browse files Browse the repository at this point in the history
  • Loading branch information
lext committed Jun 20, 2018
1 parent c2de9d5 commit fcc99af
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pth filter=lfs diff=lfs merge=lfs -text
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Here we present the training codes and the pretrained models from each of our ex

To train the networks, we used Ubuntu 14.04, CUDA 8.0 and CuDNN v.6. Below please find the other dependencies which need to be installed:

* Python 3
* pytorch with CUDA support
* Python 3.6
* pytorch < 0.4.0 with CUDA support
* PIL
* matplotlib
* Jupyter Notebook (to work with attention maps)
Expand All @@ -31,17 +31,16 @@ However, you can run the codes as they are, just use the parameters fixed in the
## 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"/>
<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"/>

## TODO
## What is in here

- [x] Codes for the main experiements (Supplementary information of the article)
- [ ] Pre-trained models
- [x] Pre-trained models
- [ ] Datasets generation scripts
- [ ] MOST and OAI cohorts bounding box annotations


## License

This code is freely available only for research purpuses.

Binary file added snapshots_knee_grading/.DS_Store
Binary file not shown.
Binary file added snapshots_knee_grading/2017_10_10_12_30_42/args.pkl
Binary file not shown.
3 changes: 3 additions & 0 deletions snapshots_knee_grading/2017_10_10_12_30_42/epoch_64.pth
Git LFS file not shown
Binary file not shown.
Binary file added snapshots_knee_grading/2017_10_10_12_30_46/args.pkl
Binary file not shown.
3 changes: 3 additions & 0 deletions snapshots_knee_grading/2017_10_10_12_30_46/epoch_97.pth
Git LFS file not shown
Binary file not shown.
Binary file added snapshots_knee_grading/2017_10_10_12_30_49/args.pkl
Binary file not shown.
3 changes: 3 additions & 0 deletions snapshots_knee_grading/2017_10_10_12_30_49/epoch_96.pth
Git LFS file not shown
Binary file not shown.
Binary file added snapshots_knee_grading/mean_std.npy
Binary file not shown.
Binary file added snapshots_knee_grading_resnet/.DS_Store
Binary file not shown.
Binary file not shown.
Git LFS file not shown
Binary file not shown.
Binary file added snapshots_knee_grading_resnet/mean_std.npy
Binary file not shown.

0 comments on commit fcc99af

Please sign in to comment.