Author:
- HUYNH Vinh Nam [M19.ICT.007]
Topic:
- Video classification
This repository provides implementation for the "RIVF-2021 - Fast Pornographic Video Detection using Deep Learning" Appendix: Known issues
- On Windows: You can find the download link of Anaconda from here. Once it's downloaded, execute the installer file and work through the installation steps.
- On Linux:
- Just simply open your terminal and type:
$ cd /tmp
$ curl -O https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
$ sha256sum Anaconda3-2020.02-Linux-x86_64.sh
$ bash ~/Downloads/Anaconda3-2020.02-Linux-x86_64.sh
- You can keep pressing ENTER until the end of the license agreement.
Once you agree to the license, you will be prompted to choose the location of the installation.
- You can press ENTER to accept the default location.
Once installation is complete, the following output should show up:
Output
...
installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /home/namhv/.bashrc ? [yes|no]
[no] >>>
Please type yes
to use the conda
command.
- After this step, it's time to activate the installation:
$ source ~/.bashrc
- Congratulation, you have the Anaconda ready on your machine, now is the time to clone this repository. Rename “M1_internship-main” to just “M1_internship”.
- On both Windows and Linux, from the Anaconda Prompt/Terminal:
$ conda create --name video_classification python=3.7
$ conda activate video_classification
- You should change the current working directory to the cloned folder [M1_internship], then run:
(video_classification) $ conda install --yes --file requirements.txt
I have been reported that the new RTX 30 series comes with the latest CUDA 11 and CuDNN 8 and only compatible with the Tensorflow >= 2.4.0. So for all the older GPU (date-back to the RTX 20 series), it is recommended to follow the requirements.txt
. For those who has the RTX 30 series, this repository can only use CPU since the source code relies heavy on TF 1.14 version.