Commit 36481fd
committed
Fix issue with googlenet module by using relative imports on Python 3.
This commit fixes an issue with importing
`sklearn_theano.feature_extraction` due to relative paths not being used
within that module.
The commit fixes the example on the sklean-theano homepage of recognising
cats and dogs in photo [1], clearly a primary use-case of any such machine
learning library.
Errors fixed (listed for searchability):
- No module named 'caffemodel'
- No module named 'googlenet_class_labels'
- No module named 'googlenet_layer_names'
[1] http://sklearn-theano.github.io/auto_examples/plot_multiple_localization.html1 parent 0fbe39c commit 36481fd
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments