blob: 2ae5c87c2ee2547482e2faeffa9e9faf98b8efb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff --git a/ncsdk-armv7l/tk/Controllers/Parsers/Caffe.py b/ncsdk-armv7l/tk/Controllers/Parsers/Caffe.py
index 98a4140..ced1cfd 100644
--- a/ncsdk-armv7l/tk/Controllers/Parsers/Caffe.py
+++ b/ncsdk-armv7l/tk/Controllers/Parsers/Caffe.py
@@ -59,7 +59,7 @@ def protoConverterPath():
path, _ = os.path.split(path)
converter_path = ['build', 'tools', 'upgrade_net_proto_text']
- return os.path.join(path, *converter_path)
+ return '/usr/bin/upgrade_net_proto_text.bin'
def regularizeInPlaceOps(parsedLayers):
diff --git a/ncsdk-x86_64/tk/Controllers/Parsers/Caffe.py b/ncsdk-x86_64/tk/Controllers/Parsers/Caffe.py
index 98a4140..ced1cfd 100644
--- a/ncsdk-x86_64/tk/Controllers/Parsers/Caffe.py
+++ b/ncsdk-x86_64/tk/Controllers/Parsers/Caffe.py
@@ -59,7 +59,7 @@ def protoConverterPath():
path, _ = os.path.split(path)
converter_path = ['build', 'tools', 'upgrade_net_proto_text']
- return os.path.join(path, *converter_path)
+ return '/usr/bin/upgrade_net_proto_text.bin'
def regularizeInPlaceOps(parsedLayers):
|