Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
1b0bf3e6
"...git@developer.sourcefind.cn:OpenDAS/torch-scatter.git" did not exist on "66320686fa96d5e1cfe938dee43f0f089355147d"
Commit
1b0bf3e6
authored
Aug 07, 2017
by
Eli Bixby
Browse files
Fix relative imports to work if packaged
parent
68612afb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
tutorials/image/cifar10_estimator/cifar10_main.py
tutorials/image/cifar10_estimator/cifar10_main.py
+3
-2
tutorials/image/cifar10_estimator/cifar10_model.py
tutorials/image/cifar10_estimator/cifar10_model.py
+1
-1
No files found.
tutorials/image/cifar10_estimator/cifar10_main.py
View file @
1b0bf3e6
...
@@ -33,8 +33,9 @@ import functools
...
@@ -33,8 +33,9 @@ import functools
import
operator
import
operator
import
os
import
os
import
cifar10
from
.
import
cifar10
import
cifar10_model
from
.
import
cifar10_model
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
# pylint: disable=redefined-builtin
from
six.moves
import
xrange
# pylint: disable=redefined-builtin
import
tensorflow
as
tf
import
tensorflow
as
tf
...
...
tutorials/image/cifar10_estimator/cifar10_model.py
View file @
1b0bf3e6
...
@@ -19,7 +19,7 @@ from __future__ import print_function
...
@@ -19,7 +19,7 @@ from __future__ import print_function
import
tensorflow
as
tf
import
tensorflow
as
tf
import
model_base
from
.
import
model_base
class
ResNetCifar10
(
model_base
.
ResNet
):
class
ResNetCifar10
(
model_base
.
ResNet
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment