Skip to content

Conversation

qlzh727
Copy link
Member

@qlzh727 qlzh727 commented Mar 27, 2018

Those two libs are usually not installed by default, and we should
not force people to install them if they just want to run resnet.

Those two libs are usually not installed by default, and we should
not force people to install them if they just want to run resnet.
Copy link
Contributor

@karmel karmel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glint comments needed, but LGTM otherwise.

# Note: cpuinfo is not installed in the TensorFlow OSS tree.
# It is installable via pip.
import cpuinfo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will probably need a # pylint: disable=g-import-not-at-top to make glint clear these.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


# Note: cpuinfo is not installed in the TensorFlow OSS tree.
# It is installable via pip.
import cpuinfo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will probably need a # pylint: disable=g-import-not-at-top to make glint clear these.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@qlzh727 qlzh727 merged commit 03781c7 into tensorflow:master Mar 27, 2018
@qlzh727 qlzh727 deleted the deps-fix branch March 27, 2018 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants