projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3edfd7e
)
Join path using "os.path.join" instead of "+"
author
Yagnesh
<yrevar@users.noreply.github.com>
Fri, 23 Dec 2016 23:31:21 +0000
(15:31 -0800)
committer
GitHub
<noreply@github.com>
Fri, 23 Dec 2016 23:31:21 +0000
(15:31 -0800)
(Needless to say it's much clearer, less error prone, and portable)
examples/02-fine-tuning.ipynb
patch
|
blob
|
history
diff --git
a/examples/02-fine-tuning.ipynb
b/examples/02-fine-tuning.ipynb
index
90803c9
..
422259d
100644
(file)
--- a/
examples/02-fine-tuning.ipynb
+++ b/
examples/02-fine-tuning.ipynb
@@
-146,7
+146,7
@@
"outputs": [],
"source": [
"import os\n",
- "weights =
caffe_root + 'models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel'
\n",
+ "weights =
os.path.join(caffe_root, 'models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel')
\n",
"assert os.path.exists(weights)"
]
},