Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NLMaps Tools
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
NLMaps Tools
Commits
e30fa0e3
Commit
e30fa0e3
authored
4 years ago
by
Simon Will
Browse files
Options
Downloads
Patches
Plain Diff
Add some info output to the script generate_nlmaps.sh
parent
a37dbacc
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
generate_nlmaps.sh
+4
-1
4 additions, 1 deletion
generate_nlmaps.sh
with
4 additions
and
1 deletion
generate_nlmaps.sh
+
4
−
1
View file @
e30fa0e3
...
...
@@ -21,6 +21,7 @@ generate() {
local
out_prefix
=
"
$1
"
local
count
=
"
$2
"
local
noise
=
"
$3
"
echo
"Generating
$out_prefix
(
$count
instances)"
if
[
"
$noise
"
=
noise
]
;
then
python
-m
nlmaps_tools.generate_nl
--noise
--count
"
$count
"
\
-o
"
$out_prefix
"
"
$AREAS
"
"
$POIS
"
...
...
@@ -45,9 +46,11 @@ for type in normal noise; do
for
split
in
train dev
test
;
do
len
=
$(
wc
-l
<
"
$V2_DIR
/nlmaps.v2.
$split
.mrl"
)
for
ext
in
en mrl
;
do
merged
=
"
$V3_DIR
/v3
$SUFFIX
.
$type
.plusv2/nlmaps.v3
$SUFFIX
.
$split
.
$ext
"
echo
"Merging new and old
$split
into
$merged
"
cat
"
$V2_DIR
/nlmaps.v2.
$split
.
$ext
"
\
<
(
head
-n
"
$len
"
"
$V3_DIR
/v3
$SUFFIX
.
$type
/nlmaps.v3
$SUFFIX
.
$split
.
$ext
"
)
\
>
"
$
V3_DIR
/v3
$SUFFIX
.
$type
.plusv2/nlmaps.v3
$SUFFIX
.
$split
.
$ext
"
>
"
$
merged
"
done
done
done
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