Skip to content

Commit f5f76ac

Browse files
minor changes
1 parent b12af23 commit f5f76ac

15 files changed

+7
-7
lines changed

code/kaffe/__init__.pyc

-14 Bytes
Binary file not shown.

code/kaffe/caffe/__init__.pyc

-14 Bytes
Binary file not shown.

code/kaffe/caffe/resolver.pyc

-112 Bytes
Binary file not shown.

code/kaffe/errors.pyc

-42 Bytes
Binary file not shown.

code/kaffe/graph.pyc

-504 Bytes
Binary file not shown.

code/kaffe/layers.pyc

-196 Bytes
Binary file not shown.

code/kaffe/shapes.pyc

-168 Bytes
Binary file not shown.

code/kaffe/tensorflow/__init__.pyc

-14 Bytes
Binary file not shown.

code/kaffe/tensorflow/network.pyc

0 Bytes
Binary file not shown.

code/kaffe/tensorflow/transformer.pyc

-574 Bytes
Binary file not shown.

code/kaffe/transformers.pyc

-490 Bytes
Binary file not shown.

code/makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ nvcc = /usr/local/cuda-8.0/bin/nvcc
22
cudalib = /usr/local/cuda-8.0/lib64/
33
tensorflow = /usr/local/lib/python2.7/dist-packages/tensorflow/include
44

5-
all: depthestimate/tf_nndistance_so.so depthestimate/render_balls_so.so
5+
all: tf_nndistance_so.so
66
.PHONY : all
77

8-
depthestimate/tf_nndistance_so.so: depthestimate/tf_nndistance_g.cu.o depthestimate/tf_nndistance.cpp
9-
g++ -std=c++11 depthestimate/tf_nndistance.cpp depthestimate/tf_nndistance_g.cu.o -o depthestimate/tf_nndistance_so.so -shared -fPIC -I $(tensorflow) -lcudart -L $(cudalib) -O2 -D_GLIBCXX_USE_CXX11_ABI=0
8+
tf_nndistance_so.so: tf_nndistance_g.cu.o tf_nndistance.cpp
9+
g++ -std=c++11 tf_nndistance.cpp tf_nndistance_g.cu.o -o tf_nndistance_so.so -shared -fPIC -I $(tensorflow) -lcudart -L $(cudalib) -O2 -D_GLIBCXX_USE_CXX11_ABI=0
1010

11-
depthestimate/tf_nndistance_g.cu.o: depthestimate/tf_nndistance_g.cu
12-
$(nvcc) -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -c -o depthestimate/tf_nndistance_g.cu.o depthestimate/tf_nndistance_g.cu -I $(tensorflow) -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -O2
11+
tf_nndistance_g.cu.o: tf_nndistance_g.cu
12+
$(nvcc) -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -c -o tf_nndistance_g.cu.o tf_nndistance_g.cu -I $(tensorflow) -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -O2

code/tf_nndistance_so.so

-48 Bytes
Binary file not shown.

code/train_planenet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def main(options):
393393
sess.run(init_op)
394394
if options.restore == 0:
395395
#fine-tune from DeepLab model
396-
var_to_restore = [v for v in var_to_restore if 'res5d' not in v.name and 'segmentation' not in v.name and 'plane' not in v.name and 'deep_supervision' not in v.name and 'local' not in v.name and 'boundary' not in v.name and 'degridding' not in v.name]
396+
var_to_restore = [v for v in var_to_restore if 'res5d' not in v.name and 'segmentation' not in v.name and 'plane' not in v.name and 'deep_supervision' not in v.name and 'local' not in v.name and 'boundary' not in v.name and 'degridding' not in v.name and 'res2a_branch2a' not in v.name and 'res2a_branch1' not in v.name]
397397
pretrained_model_loader = tf.train.Saver(var_to_restore)
398398
pretrained_model_loader.restore(sess,"../pretrained_models/deeplab_resnet.ckpt")
399399
elif options.restore == 1:

code/train_planenet_confidence.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1480,8 +1480,8 @@ def parse_args():
14801480

14811481
if __name__=='__main__':
14821482
args = parse_args()
1483-
14841483
print "keyname=%s task=%s started"%(args.keyname, args.task)
1484+
14851485
try:
14861486
if args.task == "train":
14871487
main(args)

0 commit comments

Comments
 (0)