Skip to content

Commit

Permalink
fix cpickle to cPickle
Browse files Browse the repository at this point in the history
  • Loading branch information
minghu6 committed Apr 22, 2017
1 parent 1eb878a commit 324c3f6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion weibo.cn/tensorflow-impl/check_dataset.py
Expand Up @@ -4,7 +4,7 @@
from __future__ import print_function

try:
import cpickle as pickle
import cPickle as pickle
except ImportError:
import pickle

Expand Down
2 changes: 1 addition & 1 deletion weibo.cn/tensorflow-impl/common.py
Expand Up @@ -6,7 +6,7 @@
"""
import os
try:
import cpickle as pickle
import cPickle as pickle
except ImportError:
import pickle

Expand Down
2 changes: 1 addition & 1 deletion weibo.cn/tensorflow-impl/format_dataset.py
Expand Up @@ -8,7 +8,7 @@
import sys
import io
try:
import cpickle as pickle
import cPickle as pickle
except ImportError:
import pickle

Expand Down
1 change: 1 addition & 0 deletions weibo.cn/tensorflow-impl/requirements.txt
@@ -1,3 +1,4 @@
tensorflow == 1.0
opencv-python
scikit-learn
scipy
Expand Down
2 changes: 1 addition & 1 deletion weibo.cn/tensorflow-impl/train.py
Expand Up @@ -6,7 +6,7 @@

import os
try:
import cpickle as pickle
import cPickle as pickle
except ImportError:
import pickle

Expand Down

0 comments on commit 324c3f6

Please sign in to comment.