Skip to content

Commit 5335ff6

Browse files
committed
Polish code
1 parent 2720330 commit 5335ff6

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

python/paddle/fluid/tests/book/high-level-api/image_classification/test_image_classification_vgg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,7 @@ def main(use_cuda, parallel):
152152
for parallel in (False, True):
153153
if use_cuda and not core.is_compiled_with_cuda():
154154
continue
155+
# TODO(minqiyang): remove this line after fixing the deletion
156+
# order problem of Scope in ParallelExecutor in manylinux
155157
if six.PY2:
156158
main(use_cuda=use_cuda, parallel=parallel)

python/paddle/fluid/tests/book/high-level-api/recognize_digits/test_recognize_digits_conv.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,7 @@ def main(use_cuda, parallel):
154154
for parallel in (False, True):
155155
if use_cuda and not core.is_compiled_with_cuda():
156156
continue
157-
main(use_cuda=use_cuda, parallel=parallel)
157+
# TODO(minqiyang): remove this line after fixing the deletion
158+
# order problem of Scope in ParallelExecutor in manylinux
159+
if six.PY2:
160+
main(use_cuda=use_cuda, parallel=parallel)

python/paddle/fluid/tests/book/high-level-api/recognize_digits/test_recognize_digits_mlp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,7 @@ def main(use_cuda, parallel):
137137
for parallel in (False, True):
138138
if use_cuda and not core.is_compiled_with_cuda():
139139
continue
140+
# TODO(minqiyang): remove this line after fixing the deletion
141+
# order problem of Scope in ParallelExecutor in manylinux
140142
if six.PY2:
141143
main(use_cuda=use_cuda, parallel=parallel)

0 commit comments

Comments
 (0)