-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for sensor data classification
- Loading branch information
Showing
14 changed files
with
275 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
configs/accelerometer/3axes_accelerometer_62.5Hz_1s_classify.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
_base_ = '../_base_/default_runtime_cls.py' | ||
|
||
# defaults input type image | ||
input_type = 'sensor' | ||
|
||
# ========================Suggested optional parameters======================== | ||
# RUNNING | ||
# Model validation interval in epoch | ||
val_interval = 5 | ||
# Model weight saving interval in epochs | ||
save_interval = val_interval | ||
|
||
# defaults to use registries in mmpretrain | ||
default_scope = 'sscma' | ||
# ================================END================================= | ||
# configure default hooks | ||
default_hooks = dict( | ||
# record the time of every iteration. | ||
timer=dict(type='IterTimerHook'), | ||
# print log every 100 iterations. | ||
logger=dict(type='TextLoggerHook', interval=100), | ||
# enable the parameter scheduler. | ||
param_scheduler=dict(type='ParamSchedulerHook'), | ||
# save checkpoint per epoch. | ||
checkpoint=dict(type='CheckpointHook', save_best='auto', interval=save_interval), | ||
# set sampler seed in distributed evrionment. | ||
sampler_seed=dict(type='DistSamplerSeedHook'), | ||
# validation results visualization, set True to enable it. | ||
visualization=dict(type='sscma.SensorVisualizationHook', enable=False), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.