Skip to content

Commit c4b6067

Browse files
committed
Remove use_gpu and trainer_count in train.py
1 parent d0f3479 commit c4b6067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/recognize_digits/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def convolutional_neural_network(img):
100100

101101

102102
def main():
103-
paddle.init(use_gpu=False, trainer_count=1)
103+
paddle.init()
104104

105105
# define network topology
106106
images = paddle.layer.data(

0 commit comments

Comments
 (0)