Skip to content

Commit

Permalink
fix gpus of ernie_sat, test=tts (#2355)
Browse files Browse the repository at this point in the history
  • Loading branch information
yt605155624 authored Sep 6, 2022
1 parent efaa540 commit 1c30cff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/aishell3/ernie_sat/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
source path.sh

gpus=0,1
gpus=0,1,2,3,4,5,6,7
stage=0
stop_stage=100

Expand Down
2 changes: 1 addition & 1 deletion examples/aishell3_vctk/ernie_sat/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
source path.sh

gpus=0,1
gpus=0,1,2,3,4,5,6,7
stage=0
stop_stage=100

Expand Down
2 changes: 1 addition & 1 deletion examples/vctk/ernie_sat/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
source path.sh

gpus=0,1
gpus=0,1,2,3,4,5,6,7
stage=0
stop_stage=100

Expand Down
2 changes: 1 addition & 1 deletion paddlespeech/t2s/datasets/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self,
assert isinstance(drop_last, bool), \
"drop_last should be a boolean number"

from paddle.fluid.dygraph.parallel import ParallelEnv
from paddle.distributed import ParallelEnv

if num_replicas is not None:
assert isinstance(num_replicas, int) and num_replicas > 0, \
Expand Down

0 comments on commit 1c30cff

Please sign in to comment.