Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAVEN2YOLO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Stephane Chavin
RAVEN2YOLO
Commits
e3b54f12
Commit
e3b54f12
authored
7 months ago
by
Stephane Chavin
Browse files
Options
Downloads
Patches
Plain Diff
correction get_train_annot
parent
91d5394c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
get_train_annot.py
+3
-1
3 additions, 1 deletion
get_train_annot.py
with
3 additions
and
1 deletion
get_train_annot.py
+
3
−
1
View file @
e3b54f12
...
@@ -68,7 +68,7 @@ def process(entry, arguments, species_list):
...
@@ -68,7 +68,7 @@ def process(entry, arguments, species_list):
fig
=
utils
.
create_spectrogram
(
fig
=
utils
.
create_spectrogram
(
sig
,
arguments
.
directory
,
names
=
None
,
sig
,
arguments
.
directory
,
names
=
None
,
window_size
=
arguments
.
window
,
window_size
=
arguments
.
window
,
overlap
=
arguments
.
hop
,
cmap
=
arguments
.
cmap
)
overlap
=
arguments
.
hop
,
cmap
=
arguments
.
cmap
,
minimum
=
arguments
.
minimum
)
for
_
,
row
in
table
.
iterrows
():
for
_
,
row
in
table
.
iterrows
():
specie
=
row
.
species
specie
=
row
.
species
...
@@ -183,6 +183,8 @@ if __name__ == '__main__':
...
@@ -183,6 +183,8 @@ if __name__ == '__main__':
parser
.
add_argument
(
'
--test
'
,
action
=
'
store_const
'
,
const
=
1
,
parser
.
add_argument
(
'
--test
'
,
action
=
'
store_const
'
,
const
=
1
,
help
=
'
Split into train/test/val. 1 - Ratio / 2 for test and
'
help
=
'
Split into train/test/val. 1 - Ratio / 2 for test and
'
'
same for validation
'
,
default
=
None
)
'
same for validation
'
,
default
=
None
)
parser
.
add_argument
(
'
--minimum
'
,
type
=
int
,
help
=
'
If True, vmin will be stft.mean(), else stft.min()
'
,
default
=
True
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
# Load the data and put it into a DataFrame
# Load the data and put it into a DataFrame
...
...
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