Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
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
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
Summer2022
221cb0332
Commits
ae421b93
Commit
ae421b93
authored
Oct 27, 2021
by
l00486551
Browse files
Options
Downloads
Patches
Plain Diff
fix tinydarknet path in cpu shell
parent
4d568393
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
official/cv/tinydarknet/scripts/run_eval_cpu.sh
+1
-1
1 addition, 1 deletion
official/cv/tinydarknet/scripts/run_eval_cpu.sh
official/cv/tinydarknet/scripts/run_train_cpu.sh
+2
-2
2 additions, 2 deletions
official/cv/tinydarknet/scripts/run_train_cpu.sh
with
3 additions
and
3 deletions
official/cv/tinydarknet/scripts/run_eval_cpu.sh
+
1
−
1
View file @
ae421b93
...
...
@@ -15,7 +15,7 @@
# ============================================================================
if
[
$#
!=
1
]
&&
[
$#
!=
2
]
&&
[
$#
!=
3
]
then
echo
"Usage bash scripts/run_
train
_cpu.sh [VAL_DATA_DIR] [cifar10|imagenet] [checkpoint_path]"
echo
"Usage bash scripts/run_
eval
_cpu.sh [VAL_DATA_DIR] [cifar10|imagenet] [checkpoint_path]"
exit
1
fi
...
...
This diff is collapsed.
Click to expand it.
official/cv/tinydarknet/scripts/run_train_cpu.sh
+
2
−
2
View file @
ae421b93
...
...
@@ -37,9 +37,9 @@ fi
BASE_PATH
=
$(
dirname
"
$(
dirname
"
$(
readlink
-f
$0
)
"
)
"
)
if
[
$2
==
'imagenet'
]
;
then
CONFIG_FILE
=
"
${
BASE_PATH
}
/imagenet_config.yaml"
CONFIG_FILE
=
"
${
BASE_PATH
}
/
config/
imagenet_config.yaml"
elif
[
$2
==
'cifar10'
]
;
then
CONFIG_FILE
=
"
${
BASE_PATH
}
/cifar10_config.yaml"
CONFIG_FILE
=
"
${
BASE_PATH
}
/
config/
cifar10_config.yaml"
else
echo
"error: the selected dataset is neither cifar10 nor imagenet"
exit
1
...
...
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