/LinkCrack

Primary LanguagePython

The code and data are used for the article Automatic Tunnel Crack Inspection Using an Efficient Mobile Imaging Module and a Lightweight CNN which is under review for the journal of IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS.

Installation

The code was tested with Anaconda and Python 3.6. After installing the Anaconda environment:

Install dependencies:

conda install --yes --file requirements.txt

Training

Follow steps below to train your model:

  1. Configure your dataset path in mypath.py
  2. run visdom
     python -m visdom.server
    
  3. Input arguments: (see full input arguments via python train.py --help):
    python train.py 
    

Testing

If you want to test the image (see full input arguments via python test.py --help), run:

 python test.py