wondonghyeon / Protest Detection Violence Estimation
Licence: mit
Implementation of the model used in the paper Protest Activity Detection and Perceived Violence Estimation from Social Media Images (ACM Multimedia 2017)
Stars: ✭ 114
Labels
Projects that are alternatives of or similar to Protest Detection Violence Estimation
Hate Speech And Offensive Language
Repository for the paper "Automated Hate Speech Detection and the Problem of Offensive Language", ICWSM 2017
Stars: ✭ 543 (+376.32%)
Mutual labels: jupyter-notebook, dataset, twitter
Tia
Your Advanced Twitter stalking tool
Stars: ✭ 98 (-14.04%)
Mutual labels: jupyter-notebook, twitter, social-media
Deep learning projects
Stars: ✭ 28 (-75.44%)
Mutual labels: jupyter-notebook, dataset, image-classification
Codar
✅ CODAR is a Framework built using PyTorch to analyze post (Text+Media) and predict Cyber Bullying and offensive content. 💬📷
Stars: ✭ 52 (-54.39%)
Mutual labels: dataset, image-classification, social-media
Imageclassification
Deep Learning: Image classification, feature visualization and transfer learning with Keras
Stars: ✭ 83 (-27.19%)
Mutual labels: jupyter-notebook, image-classification
Openml R
R package to interface with OpenML
Stars: ✭ 81 (-28.95%)
Mutual labels: jupyter-notebook, dataset
Food 101 Mobile
Deep Learning Food Classifier for iOS using Keras and Tensorflow
Stars: ✭ 97 (-14.91%)
Mutual labels: jupyter-notebook, image-classification
Cubicasa5k
CubiCasa5k floor plan dataset
Stars: ✭ 98 (-14.04%)
Mutual labels: jupyter-notebook, dataset
Objectron
Objectron is a dataset of short, object-centric video clips. In addition, the videos also contain AR session metadata including camera poses, sparse point-clouds and planes. In each video, the camera moves around and above the object and captures it from different views. Each object is annotated with a 3D bounding box. The 3D bounding box describes the object’s position, orientation, and dimensions. The dataset contains about 15K annotated video clips and 4M annotated images in the following categories: bikes, books, bottles, cameras, cereal boxes, chairs, cups, laptops, and shoes
Stars: ✭ 1,352 (+1085.96%)
Mutual labels: jupyter-notebook, dataset
Scientificsummarizationdatasets
Datasets I have created for scientific summarization, and a trained BertSum model
Stars: ✭ 100 (-12.28%)
Mutual labels: jupyter-notebook, dataset
Tensorflow2.0 Examples
🙄 Difficult algorithm, Simple code.
Stars: ✭ 1,397 (+1125.44%)
Mutual labels: jupyter-notebook, image-classification
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-30.7%)
Mutual labels: twitter, social-media
Symbolic Musical Datasets
🎹 symbolic musical datasets
Stars: ✭ 79 (-30.7%)
Mutual labels: jupyter-notebook, dataset
Fakeimagedetector
Image Tampering Detection using ELA and CNN
Stars: ✭ 93 (-18.42%)
Mutual labels: jupyter-notebook, image-classification
Pytorch Book
PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
Stars: ✭ 9,546 (+8273.68%)
Mutual labels: jupyter-notebook, image-classification
Raccoon dataset
The dataset is used to train my own raccoon detector and I blogged about it on Medium
Stars: ✭ 1,177 (+932.46%)
Mutual labels: jupyter-notebook, dataset
Fma
FMA: A Dataset For Music Analysis
Stars: ✭ 1,391 (+1120.18%)
Mutual labels: jupyter-notebook, dataset
Share Selected Text
share selected text on twitter, buffer, and some others. Inspired by medium.com
Stars: ✭ 64 (-43.86%)
Mutual labels: twitter, social-media
Protest Activity Detection and Perceived Violence Estimation from Social Media Images
Implementation of the model used in the paper Protest Activity Detection and Perceived Violence Estimation from Social Media Images (ACM Multimedia 2017) [arxiv] by Donghyeon Won, Zachary C. Steinert-Threlkeld, Jungseock Joo.
Requirements
Pytorch
NumPy
pandas
scikit-learn
Usage
Training
python train.py --data_dir UCLA-protest/ --batch_size 32 --lr 0.002 --print_freq 100 --epochs 100 --cuda
Evaluation
python pred.py --img_dir path/to/some/image/directory/ --output_csvpath result.csv --model model_best.pth.tar --cuda
UCLA Protest Image Dataset
You will need to download our UCLA Protest Image Dataset to train the model. Please e-mail me if you want to download our dataset!
Dataset Statistics
# of images: 40,764
# of protest images: 11,659
Protest & Visual Attributes
Fields | Protest | Sign | Photo | Fire | Police | Children | Group>20 | Group>100 | Flag | Night | Shouting |
---|---|---|---|---|---|---|---|---|---|---|---|
# of Images | 11,659 | 9,669 | 428 | 667 | 792 | 347 | 8,510 | 2,939 | 970 | 987 | 548 |
Positive Rate | 0.286 | 0.829 | 0.037 | 0.057 | 0.068 | 0.030 | 0.730 | 0.252 | 0.083 | 0.085 | 0.047 |
Violence
Mean | Median | STD |
---|---|---|
0.365 | 0.352 | 0.144 |
Model
Architecture
We fine-tuned ImageNet pretrained ResNet50 to our data. You can download the model I trained from this Dropbox link.
Performance
Protest | Sign | Photo |
---|---|---|
Fire | Police | Children |
---|---|---|
Group>20 | Group>100 | Flag |
---|---|---|
Night | Shouting | Violence |
---|---|---|
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].