Skip to content
Snippets Groups Projects
Commit 83eefa47 authored by François  LAURENT's avatar François LAURENT
Browse files

small_motion

parent 9d1763b6
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,7 @@ class Label(Enum):
HUNCH = 3
BACK = 4
ROLL = 5
SMALL_MOTION = 6
@unique
class Timeslot(Enum):
......
......@@ -80,7 +80,8 @@ class LarvaDataset(Dataset):
def import_label(s):
s = s.decode('utf-8') if isinstance(s, bytes) else s
# MaggotUBA only understands BACK, BEND, HUNCH, ROLL, RUN, STOP
# MaggotUBA only understands BACK, BEND, HUNCH, ROLL, RUN, STOP.
# With the `small_motion` branch, it only understands SMALL_MOTION.
if s == 'CAST':
return 'BEND'
elif s == 'STOP_LARGE':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment