Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JoeyNMT Server
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Will
JoeyNMT Server
Commits
2d1779fa
Commit
2d1779fa
authored
4 years ago
by
Simon Will
Browse files
Options
Downloads
Patches
Plain Diff
Fix trivial argument name error
parent
d7924b94
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
simulate_training.py
+2
-2
2 additions, 2 deletions
simulate_training.py
with
2 additions
and
2 deletions
simulate_training.py
+
2
−
2
View file @
2d1779fa
...
...
@@ -98,10 +98,10 @@ class NLMapsMT:
def
main
(
dataset_dir
,
model
,
wait_time
=
3
,
validation_freq
=
10
,
dev2
=
False
,
nlmaps_mt_
base_url
=
NLMAPS_MT_BASE_URL
,
user_id
=
1
):
base_url
=
NLMAPS_MT_BASE_URL
,
user_id
=
1
):
data
=
load_data
(
dataset_dir
)
nlmaps_mt
=
NLMapsMT
(
nlmaps_mt_
base_url
,
model
=
model
,
user_id
=
user_id
)
nlmaps_mt
=
NLMapsMT
(
base_url
,
model
=
model
,
user_id
=
user_id
)
for
train_idx
,
(
train
,
dev
,
test
)
in
enumerate
(
zip_longest
(
data
[
'
train
'
],
data
[
'
dev
'
],
data
[
'
test
'
])):
if
train
:
...
...
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