Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

from __future__ imports must occur at the beginning of the file #810

Open
houj04 opened this issue Sep 25, 2019 · 1 comment
Open

from __future__ imports must occur at the beginning of the file #810

houj04 opened this issue Sep 25, 2019 · 1 comment
Assignees

Comments

@houj04
Copy link

houj04 commented Sep 25, 2019

In this document:
https://www.paddlepaddle.org.cn/documentation/docs/zh/beginners_guide/basics/image_classification/index.html
See this section of codes:
图片
The line of from __future__ import print_function should be above all other imports. Otherwise will encounter a "from future imports must occur at the beginning of the file" error.

@AIpioneer
Copy link

Thanks for the suggestion, and we will correct it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants