Skip to content

Commit a0e9f95

Browse files
committed
This imports the wrong io module in Python 3.
The Python standard lib has a module called io, so instead of Python 3 throwing an error, it imports the wrong module without complaining.
1 parent bd2be60 commit a0e9f95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/caffe/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from .proto.caffe_pb2 import TRAIN, TEST
44
from .classifier import Classifier
55
from .detector import Detector
6-
import io
6+
from . import io

0 commit comments

Comments
 (0)