aculotta commited on
Commit
5a6b5de
1 Parent(s): 46a9872

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd
3
+ language:
4
+ - en
5
+ metrics:
6
+ - accuracy
7
+ tags:
8
+ - climate
9
+ - trash
10
+ - classifier
11
+ - water
12
+ - aquatic
13
+ - pollution
14
+ - environment
15
+ datasets:
16
+ - brsdincer/garbage-collective-data-for-nature-conservation
17
+ - harshpanwar/aquatrash
18
+ ---
19
+ # Trashnet - Trash Identification model for forensic trash cleanup
20
+
21
+ ## Overview
22
+ This model takes images or video frames as input, and identifies the most likely types of trash present in the scene.
23
+ The model has been specifically built for aquatic trash, but performs almost equally well on terrestrial trash.
24
+
25
+ # Usage
26
+ The model has been trained on 120 x 120 RGB images. To evaluate the contents of an image, you will need to pass in a tensor of shape (120,120,3).
27
+
28
+ ## Training and Classes
29
+ Trained for 22 epochs on 3500 data points
30
+
31
+ #### Class labels
32
+ trash_classes = ['battery','biological','glass','cardboard','clothes','metal','paper','plastic','shoes','trash']
33
+
34
+ #### Mapping common trash types from training data together
35
+
36
+ class_to_idx = {<br>
37
+ 'battery':0,<br>
38
+ 'biological':1,<br>
39
+ 'glass':2,<br>
40
+ 'brown_glass':2,<br>
41
+ 'green_glass':2,<br>
42
+ 'cardboard':3,<br>
43
+ 'clothes':4,<br>
44
+ 'metal':5,<br>
45
+ 'paper':6,<br>
46
+ 'plastic':7,<br>
47
+ 'shoes':8,<br>
48
+ 'trash':9<br>
49
+ }
50
+
51
+
52
+ ## Limitations
53
+ The model has limited training data of trash in the environment. Additionally, the model overrepresents plastic and glass
54
+ in its predictions due to sampling bias and visual similarities between plastic, glass, and other common types of trash.
55
+ As a solution, the model is marked as 'correct' when the correct label is within the model's top N most predicted trash types.
56
+
57
+
58
+ n = 3 gives the most appropriate results.