/Naic-preliminary-contest

Rank 3th in the NAIC 2020(National Artificial Intelligence Challenge) preliminary contest.

Primary LanguagePythonApache License 2.0Apache-2.0

Naic-preliminary-contest

Introduction

Rank 3th in the NAIC 2020(National Artificial Intelligence Challenge) preliminary contest.

Setting

  • RTX2080Ti × 4
  • Linux
  • Cuda10.1

Usage

  1. Install packages
  • The code is tested on python3.5 and torch 1.1.0. (A higher version should be also work)
pip install -r requirements.txt  
  1. Dataset
  • Download the dataset on NAIC
  • Please put dataset: train, image_A, image_B in folder data
  1. Train
  • Run this command at the terminal:
sh autorun_train.sh
  • You can change the python version in autorun_train.sh
  1. Test
sh autorun_test.sh
  1. Ensemble
  • The best results in rank A and rank B, you can change the test path in folder dataset to get the results of dataset image_A and image_B.
sh autorun_ensemble.sh
  1. Results
  • Stored in folder results
sh zip.sh
  • Compressed to ZIP format.