Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 683 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 683 Bytes

Example use:

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

# Train
python -m tiktok_reporter_analysis train

# Run analysis for screen recording
python -m tiktok_reporter_analysis analyze_screen_recording data/training_data/screen_recordings/RecordIt-1693292574.mp4

# Run analaysis for reported
python -m tiktok_reporter_analysis analyze_reported data/training_data/screen_recordings/exampletiktok.mp4

Setup dev environment

pip install -r requirements-dev.txt
pre-commit install

Run in docker

docker build -t tiktok-reporter-analysis .
docker run --rm -it --gpus all -v ${PWD}:/app tiktok-reporter-analysis PYTHON CMD HERE