Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Vocal Repertoire Embedder
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
Releases
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Best
Vocal Repertoire Embedder
Commits
8f621043
Commit
8f621043
authored
2 years ago
by
Paul Best
Browse files
Options
Downloads
Patches
Plain Diff
fix Mel and humpback
parent
15bb7524
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
humpback/humpback.csv
+7412
-7412
7412 additions, 7412 deletions
humpback/humpback.csv
models.py
+1
-1
1 addition, 1 deletion
models.py
test_AE.py
+1
-1
1 addition, 1 deletion
test_AE.py
train_AE.py
+1
-1
1 addition, 1 deletion
train_AE.py
with
7415 additions
and
7415 deletions
humpback/humpback.csv
+
7412
−
7412
View file @
8f621043
This diff is collapsed.
Click to expand it.
models.py
+
1
−
1
View file @
8f621043
...
...
@@ -86,7 +86,7 @@ frontend = {
STFT
(
nfft
,
int
((
sampleDur
*
sr
-
nfft
)
/
128
)),
Log1p
(
7
,
trainable
=
False
),
nn
.
InstanceNorm2d
(
1
),
u
.
Croper2D
(
n_mel
,
128
)
nn
.
AdaptiveMaxPool2d
((
128
,
128
)
)
),
'
pcenMel
'
:
lambda
sr
,
nfft
,
sampleDur
,
n_mel
:
nn
.
Sequential
(
STFT
(
nfft
,
int
((
sampleDur
*
sr
-
nfft
)
/
128
)),
...
...
This diff is collapsed.
Click to expand it.
test_AE.py
+
1
−
1
View file @
8f621043
...
...
@@ -15,7 +15,7 @@ parser.add_argument("-encoder", type=str, default='sparrow_encoder')
parser
.
add_argument
(
"
-frontend
"
,
type
=
str
,
default
=
'
logMel
'
)
args
=
parser
.
parse_args
()
modelname
=
f
'
{
args
.
specie
}
_
{
args
.
bottleneck
}
_
{
args
.
frontend
}{
args
.
nMel
}
_
{
args
.
encoder
}
_decod2_BN_nomaxPool.stdc
'
modelname
=
f
'
{
args
.
specie
}
_
{
args
.
bottleneck
}
_
{
args
.
frontend
}{
args
.
nMel
if
"
Mel
"
in
args
.
frontend
else
""
}
_
{
args
.
encoder
}
_decod2_BN_nomaxPool.stdc
'
meta
=
models
.
meta
[
args
.
specie
]
df
=
pd
.
read_csv
(
f
'
{
args
.
specie
}
/
{
args
.
specie
}
.csv
'
)
print
(
f
'
Tests for model
{
modelname
}
'
)
...
...
This diff is collapsed.
Click to expand it.
train_AE.py
+
1
−
1
View file @
8f621043
...
...
@@ -16,7 +16,7 @@ parser.add_argument("specie", type=str)
parser
.
add_argument
(
"
-bottleneck
"
,
type
=
int
,
default
=
16
)
parser
.
add_argument
(
"
-frontend
"
,
type
=
str
,
default
=
'
logMel
'
)
parser
.
add_argument
(
"
-encoder
"
,
type
=
str
,
default
=
'
sparrow_encoder
'
)
parser
.
add_argument
(
"
-nMel
"
,
type
=
int
,
default
=
64
)
parser
.
add_argument
(
"
-nMel
"
,
type
=
int
,
default
=
128
)
parser
.
add_argument
(
"
-lr
"
,
type
=
float
,
default
=
3e-3
)
parser
.
add_argument
(
"
-lr_decay
"
,
type
=
float
,
default
=
1e-2
)
parser
.
add_argument
(
"
-batch_size
"
,
type
=
int
,
default
=
128
)
...
...
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