Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Code Computer Vision
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PolySTAR
RoboMaster
Computer Vision
Code Computer Vision
Commits
950b81d4
Commit
950b81d4
authored
5 years ago
by
Mathieu Beligon
Browse files
Options
Downloads
Patches
Plain Diff
[common] (twitch dataset) update code to use full v1 twitch dataset
parent
2fd9342f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/research_common/dataset/twitch/twitch_roco_datasets.py
+6
-3
6 additions, 3 deletions
...on/research_common/dataset/twitch/twitch_roco_datasets.py
with
6 additions
and
3 deletions
common/research_common/dataset/twitch/twitch_roco_datasets.py
+
6
−
3
View file @
950b81d4
from
enum
import
Enum
from
research_common.constants
import
TWITCH_DSET_
ROBOTS_VIEWS_
DIR
from
research_common.constants
import
TWITCH_DSET_DIR
from
research_common.dataset.directory_roco_dataset
import
DirectoryROCODataset
class
TwitchROCODataset
(
DirectoryROCODataset
,
Enum
):
def
__init__
(
self
,
competition_name
:
str
):
super
().
__init__
(
TWITCH_DSET_
ROBOTS_VIEWS_DIR
/
competition_name
,
self
.
name
)
super
().
__init__
(
TWITCH_DSET_
DIR
/
"
v1
"
/
competition_name
,
self
.
name
)
TWITCH_470149568
=
"
470149568
"
TWITCH_470150052
=
"
470150052
"
TWITCH_470151286
=
"
470151286
"
TWITCH_470152289
=
"
470152289
"
TWITCH_470152730
=
"
470152730
"
TWITCH_470152838
=
"
470152838
"
TWITCH_470153081
=
"
470153081
"
TWITCH_47015
2289
=
"
47015
2289
"
TWITCH_47015
8483
=
"
47015
8483
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment