Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_pytorch
Commits
1ab8954b
Commit
1ab8954b
authored
Apr 03, 2023
by
panning
Browse files
修改多卡训练脚本路径
parent
f7d3c321
Pipeline
#164
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scrips/single_process.sh
scrips/single_process.sh
+1
-1
No files found.
scrips/single_process.sh
View file @
1ab8954b
...
...
@@ -5,7 +5,7 @@ lrank=$OMPI_COMM_WORLD_LOCAL_RANK
comm_rank
=
$OMPI_COMM_WORLD_RANK
comm_size
=
$OMPI_COMM_WORLD_SIZE
APP
=
"python3
`
pwd
`
/main_acc
.py --batch-size=
${
3
}
--arch=
${
2
}
-j 6 --epochs=90 --dist-url tcp://
${
1
}
:34567 --dist-backend nccl --world-size=
${
comm_size
}
--rank=
${
comm_rank
}
--save-path=/path/to/{save_model_dir} /path/to/{ImageNet_pytorch_data_dir}/"
APP
=
"python3
../train
.py --batch-size=
${
3
}
--arch=
${
2
}
-j 6 --epochs=90 --dist-url tcp://
${
1
}
:34567 --dist-backend nccl --world-size=
${
comm_size
}
--rank=
${
comm_rank
}
--save-path=/path/to/{save_model_dir} /path/to/{ImageNet_pytorch_data_dir}/"
case
${
lrank
}
in
[
0]
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment