Mura competition https://stanfordmlgroup.github.io/competitions/mura/
- Setup your preferred environment, i.e. virtualenv, conda, docker
- Install packages:
pip install -r requirements.txt
- Download MURA dataset into
/dataset/
directory. Link to MURA: https://stanfordmlgroup.github.io/competitions/mura/ - To run a model on MURA dataset, run
python {path-to-model-python-file} train
. Add-h
flag for all options. - To show a visualization of model attention or activation of a layer, run
python visualize.py
. Add-h
flag for all options.
- In order to run tensorflow in cpu, install
tensorflow
instead oftensorflow-gpu
inrequirements.txt
- For MacOS user, importing
dataset
might throw exception, as explained by: https://matplotlib.org/faq/osx_framework.html If you usevirtualenv
, one solution pointed out by Kevin is to add the following code to the top of yourdataset.py
:import matplotlib as mpl mpl.use('TkAgg')
- The main script does not work with
keras-2.2.0
due to a known bug in keras, but will work withkeras-2.2.2
.