Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.2 KB

INSTALL.md

File metadata and controls

53 lines (40 loc) · 1.2 KB

Installation

This document describes how to get CNDet source code and configure the running environment.

Requirements

  • Python 3.6+
  • Pytorch 1.6+
  • Linux or MacOS

Get CDNet Code

use git:
git clone https://github.com/zhangzhengde0225/CDNet.git
cd cdnet
from github web:
  • Browse the [CDnet] repository
  • Click "Code"-"Download ZIP"
unzip CDNet-master.zip
cd CDNet_master

Configure Environment

Anaconda is highly recommanded.

Haven't Anaconda been installed yet? Download anaconda installer here and install it:

chmod +x ./Anaconda3-2020.11-Linux-.sh
./Anaconda3-2020.11-Linux-.sh  # install
which conda  # verify installation

After having a CONDA, directly import the fully configured environment:

conda env creat -f conda_cdnet_env.yaml

or Creating a environment from sratch:

conda create --name cdnet python=3.7  # create a env named as "cdnet"
conda activate cdnet  # activate the env
which pip  # verify pip 
pip install -r requirements.txt  # install packages use pip
# or use conda to install package
conda install <PACKAGE>