selfharm_plass
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: wooseunghyun
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 63.6 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
유치장 내 자살자해 탐지 PLASS
이 저장소는 유치장 내 자살자해 탐지의 구현을 포함하고 있습니다. 이 프로젝트는 영상, 스켈레톤 기반 이상행동 탐지를 위해 MMAction2 프레임워크를 활용합니다.
모듈 사용방법
프로젝트를 실행 방법
1. 환경설정
conda create -n selfharm python==3.8
conda activate selfharm
git clone https://github.com/wooseunghyun/selfharm_PLASS.git .
pip install -U openmim
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
pip install chardet
mim install mmcv-full
mim install mmengine
mim install mmdet
mim install mmpose
pip install moviepy
pip install -e .
2. pth 파일 다운로드
cd work_dirs/demo_rgbposec3d
wget --load-cookies ~/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies ~/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1hfvHrenziejJyLPlHvpttWBJB_GeVlRg' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1hfvHrenziejJyLPlHvpttWBJB_GeVlRg" -O pose_best_acc_top1_epoch_17.pth && rm -rf ~/cookies.txt
wget --load-cookies ~/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies ~/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1aI0K3M5r1K4tk2x9-s5hsbdPE8miW6_h' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1aI0K3M5r1K4tk2x9-s5hsbdPE8miW6_h" -O rgb_best_acc_top1_epoch_17.pth && rm -rf ~/cookies.txt
또는
pose의 pth파일 GoogleDrive
rgb의 pth파일 GoogleDrive
3. mhncity 공유 mmaction2를 내부에 다운 받기
mhncity 공유 mmaction2.zip GoogleDrive을 내부에 다운 받아 아래와 같이 폴더를 위치시키기
selfharm_PLASS
└── mmaction2
selfharmPLASS/mmaction2/demo/trackingskeletonori.py의 파일을 trackingskeleton_ori.pyGoogleDrive 와 바꾸기
import 중 module이름을 찾을 수 없다는 오류가 발생할 경우
from mmaction2.BoTSORT.yolov7.utils.plots
와 같이 경로에 mmaction2를 추가
4. 모듈 실행
python ./demo/module_video_structuralize_rgbposec3d.py
또는
modulevideostructuralizergbposec3d.py 내의 selfharmdetection()을 사용하여 결과를 얻을 수 있음.
단, 908라인에 detect_m() 대신 적절한 데이터를 입력해야함.
받아와야하는 데이터는 modifiedresults, personbboxes, pose_results, frames
Owner
- Login: wooseunghyun
- Kind: user
- Repositories: 7
- Profile: https://github.com/wooseunghyun
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - name: "MMAction2 Contributors" title: "OpenMMLab's Next Generation Video Understanding Toolbox and Benchmark" date-released: 2020-07-21 url: "https://github.com/open-mmlab/mmaction2" license: Apache-2.0
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0