質問編集履歴
7
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,69 +20,69 @@
|
|
20
20
|
|
21
21
|
C:\tensorflow>bazel build //tensorflow/contrib/lite/toco:toco
|
22
22
|
|
23
|
-
ERROR: Skipping '//tensorflow/contrib/lite/toco:toco': error loading package 'tensorflow/contrib/lite/toco': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf_archive//': Traceback (most recent call last):
|
23
|
+
> ERROR: Skipping '//tensorflow/contrib/lite/toco:toco': error loading package 'tensorflow/contrib/lite/toco': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf_archive//': Traceback (most recent call last):
|
24
24
|
|
25
|
-
File "C:/tensorflow/third_party/repo.bzl", line 88
|
25
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 88
|
26
26
|
|
27
|
-
_apply_patch(ctx, ctx.attr.patch_file)
|
27
|
+
> _apply_patch(ctx, ctx.attr.patch_file)
|
28
28
|
|
29
|
-
File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
29
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
30
30
|
|
31
|
-
_execute_and_check_ret_code(ctx, cmd)
|
31
|
+
> _execute_and_check_ret_code(ctx, cmd)
|
32
32
|
|
33
|
-
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
33
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
34
34
|
|
35
|
-
fail("Non-zero return code({1}) when ...))
|
35
|
+
> fail("Non-zero return code({1}) when ...))
|
36
36
|
|
37
|
-
Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
37
|
+
> Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
38
38
|
|
39
|
-
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
39
|
+
> Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
40
40
|
|
41
|
+
>
|
41
42
|
|
43
|
+
> Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
42
44
|
|
43
|
-
|
45
|
+
>
|
44
46
|
|
47
|
+
> This application has requested the Runtime to terminate it in an unusual way.
|
45
48
|
|
49
|
+
> Please contact the application's support team for more information.
|
46
50
|
|
47
|
-
|
51
|
+
> WARNING: Target pattern parsing failed.
|
48
52
|
|
49
|
-
|
53
|
+
> ERROR: error loading package 'tensorflow/contrib/lite/toco': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf_archive//': Traceback (most recent call last):
|
50
54
|
|
51
|
-
|
55
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 88
|
52
56
|
|
53
|
-
|
57
|
+
> _apply_patch(ctx, ctx.attr.patch_file)
|
54
58
|
|
55
|
-
File "C:/tensorflow/third_party/repo.bzl", line
|
59
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
56
60
|
|
57
|
-
_a
|
61
|
+
> _execute_and_check_ret_code(ctx, cmd)
|
58
62
|
|
59
|
-
File "C:/tensorflow/third_party/repo.bzl", line
|
63
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
60
64
|
|
61
|
-
|
65
|
+
> fail("Non-zero return code({1}) when ...))
|
62
66
|
|
63
|
-
|
67
|
+
> Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
64
68
|
|
65
|
-
|
69
|
+
> Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
66
70
|
|
67
|
-
|
71
|
+
>
|
68
72
|
|
69
|
-
Std
|
73
|
+
> Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
70
74
|
|
75
|
+
>
|
71
76
|
|
77
|
+
> This application has requested the Runtime to terminate it in an unusual way.
|
72
78
|
|
73
|
-
|
79
|
+
> Please contact the application's support team for more information.
|
74
80
|
|
81
|
+
> INFO: Elapsed time: 24.003s
|
75
82
|
|
83
|
+
> FAILED: Build did NOT complete successfully (0 packages loaded)
|
76
84
|
|
77
|
-
This application has requested the Runtime to terminate it in an unusual way.
|
78
|
-
|
79
|
-
Please contact the application's support team for more information.
|
80
|
-
|
81
|
-
INFO: Elapsed time: 24.003s
|
82
|
-
|
83
|
-
FAILED: Build did NOT complete successfully (0 packages loaded)
|
84
|
-
|
85
|
-
currently loading: tensorflow/contrib/lite/toco
|
85
|
+
> currently loading: tensorflow/contrib/lite/toco
|
86
86
|
|
87
87
|
|
88
88
|
|
@@ -94,15 +94,17 @@
|
|
94
94
|
|
95
95
|
C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch
|
96
96
|
|
97
|
-
こうなる
|
98
97
|
|
99
|
-
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
100
98
|
|
101
|
-
|
99
|
+
こうなります
|
102
100
|
|
103
|
-
|
101
|
+
> patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
104
102
|
|
103
|
+
> Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
104
|
+
|
105
|
+
> This application has requested the Runtime to terminate it in an unusual way.
|
106
|
+
|
105
|
-
Please contact the application's support team for more information.
|
107
|
+
> Please contact the application's support team for more information.
|
106
108
|
|
107
109
|
|
108
110
|
|
@@ -110,15 +112,19 @@
|
|
110
112
|
|
111
113
|
patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch --binary
|
112
114
|
|
113
|
-
こうなる
|
114
115
|
|
115
|
-
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
116
116
|
|
117
|
-
|
117
|
+
こうなります
|
118
118
|
|
119
|
-
|
119
|
+
> patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
120
120
|
|
121
|
+
> Hunk #1 succeeded at 750 with fuzz 1 (offset 193 lines).
|
122
|
+
|
123
|
+
> Hunk #2 succeeded at 825 (offset 169 lines).
|
124
|
+
|
121
|
-
Hunk #3 succeeded at 906 with fuzz 2 (offset 169 lines).
|
125
|
+
> Hunk #3 succeeded at 906 with fuzz 2 (offset 169 lines).
|
126
|
+
|
127
|
+
|
122
128
|
|
123
129
|
ということで、--binary をスクリプトに入れると良いかもと思いましたが、どう入れれば良いのか分かりません。
|
124
130
|
|
6
環境、やってみたこと 追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドする
|
6
6
|
|
7
|
-
環境:Win10
|
7
|
+
環境:Win10 tensorflow1.5.0 bazel 0.9.0
|
8
8
|
|
9
9
|
|
10
10
|
|
@@ -83,3 +83,45 @@
|
|
83
83
|
FAILED: Build did NOT complete successfully (0 packages loaded)
|
84
84
|
|
85
85
|
currently loading: tensorflow/contrib/lite/toco
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
### やってみたこと その1 patchまわり (追記)
|
90
|
+
|
91
|
+
試験的に以下コマンドを打つと
|
92
|
+
|
93
|
+
patch -p1 -d
|
94
|
+
|
95
|
+
C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch
|
96
|
+
|
97
|
+
こうなる
|
98
|
+
|
99
|
+
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
100
|
+
|
101
|
+
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
102
|
+
|
103
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
104
|
+
|
105
|
+
Please contact the application's support team for more information.
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
試験的に後ろに --binary をつけてコマンドを打つと
|
110
|
+
|
111
|
+
patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch --binary
|
112
|
+
|
113
|
+
こうなる
|
114
|
+
|
115
|
+
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
116
|
+
|
117
|
+
Hunk #1 succeeded at 750 with fuzz 1 (offset 193 lines).
|
118
|
+
|
119
|
+
Hunk #2 succeeded at 825 (offset 169 lines).
|
120
|
+
|
121
|
+
Hunk #3 succeeded at 906 with fuzz 2 (offset 169 lines).
|
122
|
+
|
123
|
+
ということで、--binary をスクリプトに入れると良いかもと思いましたが、どう入れれば良いのか分かりません。
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
参考:https://github.com/tensorflow/tensorflow/issues/10435
|
5
OS環境情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドする
|
6
6
|
|
7
|
-
|
7
|
+
環境:Win10
|
8
8
|
|
9
9
|
|
10
10
|
|
@@ -12,7 +12,9 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
+
http://blog.gclue.com/?p=836
|
16
|
+
|
15
|
-
ビルド
|
17
|
+
を参考にし、以下ビルドを行いましたがエラーが出ています。以下の通りです。
|
16
18
|
|
17
19
|
|
18
20
|
|
4
エラー内容変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,35 +14,9 @@
|
|
14
14
|
|
15
15
|
ビルドできません。以下の通りです。
|
16
16
|
|
17
|
-
protocolbuf.bzl
|
18
|
-
|
19
|
-
patch.exe
|
20
|
-
|
21
|
-
2点の問題があるように見えます。
|
22
17
|
|
23
18
|
|
24
|
-
|
25
|
-
|
19
|
+
C:\tensorflow>bazel build //tensorflow/contrib/lite/toco:toco
|
26
|
-
|
27
|
-
Loading:
|
28
|
-
|
29
|
-
Loading: 0 packages loaded
|
30
|
-
|
31
|
-
Loading: 0 packages loaded
|
32
|
-
|
33
|
-
currently loading: tensorflow/contrib/lite/toco
|
34
|
-
|
35
|
-
Loading: 0 packages loaded
|
36
|
-
|
37
|
-
currently loading: tensorflow/contrib/lite/toco
|
38
|
-
|
39
|
-
Loading: 0 packages loaded
|
40
|
-
|
41
|
-
currently loading: tensorflow/contrib/lite/toco
|
42
|
-
|
43
|
-
Loading: 0 packages loaded
|
44
|
-
|
45
|
-
currently loading: tensorflow/contrib/lite/toco
|
46
20
|
|
47
21
|
ERROR: Skipping '//tensorflow/contrib/lite/toco:toco': error loading package 'tensorflow/contrib/lite/toco': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf_archive//': Traceback (most recent call last):
|
48
22
|
|
@@ -58,23 +32,19 @@
|
|
58
32
|
|
59
33
|
fail("Non-zero return code({1}) when ...))
|
60
34
|
|
61
|
-
Non-zero return code(
|
35
|
+
Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
62
36
|
|
63
|
-
Stdout:
|
37
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
64
38
|
|
65
|
-
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
66
39
|
|
67
|
-
This problem is probably due to using incompatible versions of the cygwin DLL.
|
68
40
|
|
69
|
-
Se
|
41
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
70
42
|
|
71
|
-
and delete all but the most recent version. The most recent version *should*
|
72
43
|
|
73
|
-
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
74
44
|
|
75
|
-
i
|
45
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
76
46
|
|
77
|
-
a
|
47
|
+
Please contact the application's support team for more information.
|
78
48
|
|
79
49
|
WARNING: Target pattern parsing failed.
|
80
50
|
|
@@ -92,46 +62,22 @@
|
|
92
62
|
|
93
63
|
fail("Non-zero return code({1}) when ...))
|
94
64
|
|
95
|
-
Non-zero return code(
|
65
|
+
Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
96
66
|
|
97
|
-
Stdout:
|
67
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
98
68
|
|
99
|
-
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
100
69
|
|
101
|
-
This problem is probably due to using incompatible versions of the cygwin DLL.
|
102
70
|
|
103
|
-
Se
|
71
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
104
72
|
|
105
|
-
and delete all but the most recent version. The most recent version *should*
|
106
73
|
|
107
|
-
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
108
74
|
|
109
|
-
i
|
75
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
110
76
|
|
111
|
-
a
|
77
|
+
Please contact the application's support team for more information.
|
112
78
|
|
113
|
-
INFO: Elapsed time: 2
|
79
|
+
INFO: Elapsed time: 24.003s
|
114
80
|
|
115
81
|
FAILED: Build did NOT complete successfully (0 packages loaded)
|
116
82
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
### 試したこと
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
上記(bazel build) の実行は、c:/tensorflow の位置で実施しています。
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
環境はWin10。階層構造は以下の通りです。
|
130
|
-
|
131
|
-
c
|
83
|
+
currently loading: tensorflow/contrib/lite/toco
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
c:/tensorflow にはWORKSPACEファイルがあります。
|
136
|
-
|
137
|
-
c:/tensorflow/tensorflow/contrib/lite/toco にはBUILDファイルがあります。
|
3
一部内容修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,19 +58,23 @@
|
|
58
58
|
|
59
59
|
fail("Non-zero return code({1}) when ...))
|
60
60
|
|
61
|
-
Non-zero return code(
|
61
|
+
Non-zero return code(127) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
62
62
|
|
63
|
-
Stdout:
|
63
|
+
Stdout:
|
64
64
|
|
65
|
+
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
65
66
|
|
67
|
+
This problem is probably due to using incompatible versions of the cygwin DLL.
|
66
68
|
|
67
|
-
S
|
69
|
+
Search for cygwin1.dll using the Windows Start->Find/Search facility
|
68
70
|
|
71
|
+
and delete all but the most recent version. The most recent version *should*
|
69
72
|
|
73
|
+
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
70
74
|
|
71
|
-
|
75
|
+
installed the cygwin distribution. Rebooting is also suggested if you
|
72
76
|
|
73
|
-
|
77
|
+
are unable to find another cygwin DLL.
|
74
78
|
|
75
79
|
WARNING: Target pattern parsing failed.
|
76
80
|
|
@@ -88,23 +92,29 @@
|
|
88
92
|
|
89
93
|
fail("Non-zero return code({1}) when ...))
|
90
94
|
|
91
|
-
Non-zero return code(
|
95
|
+
Non-zero return code(127) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
92
96
|
|
97
|
+
Stdout:
|
98
|
+
|
99
|
+
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
100
|
+
|
101
|
+
This problem is probably due to using incompatible versions of the cygwin DLL.
|
102
|
+
|
93
|
-
S
|
103
|
+
Search for cygwin1.dll using the Windows Start->Find/Search facility
|
104
|
+
|
105
|
+
and delete all but the most recent version. The most recent version *should*
|
106
|
+
|
107
|
+
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
108
|
+
|
109
|
+
installed the cygwin distribution. Rebooting is also suggested if you
|
110
|
+
|
111
|
+
are unable to find another cygwin DLL.
|
112
|
+
|
113
|
+
INFO: Elapsed time: 21.217s
|
114
|
+
|
115
|
+
FAILED: Build did NOT complete successfully (0 packages loaded)
|
94
116
|
|
95
117
|
|
96
|
-
|
97
|
-
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
This application has requested the Runtime to terminate it in an unusual way.
|
102
|
-
|
103
|
-
Please contact the application's support team for more information.
|
104
|
-
|
105
|
-
INFO: Elapsed time: 21.682s
|
106
|
-
|
107
|
-
FAILED: Build did NOT complete successfully (0 packages loaded)
|
108
118
|
|
109
119
|
|
110
120
|
|
2
一部内容修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,25 +14,97 @@
|
|
14
14
|
|
15
15
|
ビルドできません。以下の通りです。
|
16
16
|
|
17
|
+
protocolbuf.bzl
|
18
|
+
|
19
|
+
patch.exe
|
20
|
+
|
17
|
-
|
21
|
+
2点の問題があるように見えます。
|
18
22
|
|
19
23
|
|
20
24
|
|
21
|
-
$ bazel build /tensorflow/contrib/lite/toco:toco
|
25
|
+
$ bazel build //tensorflow/contrib/lite/toco:toco
|
22
26
|
|
23
27
|
Loading:
|
24
28
|
|
25
29
|
Loading: 0 packages loaded
|
26
30
|
|
27
|
-
|
31
|
+
Loading: 0 packages loaded
|
28
32
|
|
29
|
-
|
33
|
+
currently loading: tensorflow/contrib/lite/toco
|
30
34
|
|
31
|
-
|
35
|
+
Loading: 0 packages loaded
|
32
36
|
|
33
|
-
|
37
|
+
currently loading: tensorflow/contrib/lite/toco
|
34
38
|
|
35
|
-
|
39
|
+
Loading: 0 packages loaded
|
40
|
+
|
41
|
+
currently loading: tensorflow/contrib/lite/toco
|
42
|
+
|
43
|
+
Loading: 0 packages loaded
|
44
|
+
|
45
|
+
currently loading: tensorflow/contrib/lite/toco
|
46
|
+
|
47
|
+
ERROR: Skipping '//tensorflow/contrib/lite/toco:toco': error loading package 'tensorflow/contrib/lite/toco': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf_archive//': Traceback (most recent call last):
|
48
|
+
|
49
|
+
File "C:/tensorflow/third_party/repo.bzl", line 88
|
50
|
+
|
51
|
+
_apply_patch(ctx, ctx.attr.patch_file)
|
52
|
+
|
53
|
+
File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
54
|
+
|
55
|
+
_execute_and_check_ret_code(ctx, cmd)
|
56
|
+
|
57
|
+
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
58
|
+
|
59
|
+
fail("Non-zero return code({1}) when ...))
|
60
|
+
|
61
|
+
Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
62
|
+
|
63
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
72
|
+
|
73
|
+
Please contact the application's support team for more information.
|
74
|
+
|
75
|
+
WARNING: Target pattern parsing failed.
|
76
|
+
|
77
|
+
ERROR: error loading package 'tensorflow/contrib/lite/toco': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf_archive//': Traceback (most recent call last):
|
78
|
+
|
79
|
+
File "C:/tensorflow/third_party/repo.bzl", line 88
|
80
|
+
|
81
|
+
_apply_patch(ctx, ctx.attr.patch_file)
|
82
|
+
|
83
|
+
File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
84
|
+
|
85
|
+
_execute_and_check_ret_code(ctx, cmd)
|
86
|
+
|
87
|
+
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
88
|
+
|
89
|
+
fail("Non-zero return code({1}) when ...))
|
90
|
+
|
91
|
+
Non-zero return code(3) when executing 'C:\tools\msys64\usr\bin\bash.exe -c patch -p1 -d C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch':
|
92
|
+
|
93
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
102
|
+
|
103
|
+
Please contact the application's support team for more information.
|
104
|
+
|
105
|
+
INFO: Elapsed time: 21.682s
|
106
|
+
|
107
|
+
FAILED: Build did NOT complete successfully (0 packages loaded)
|
36
108
|
|
37
109
|
|
38
110
|
|
1
タイトル修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
tensorflowのソースコードからtoco
|
1
|
+
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドしたい
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
tensorflowのソースコードからtoco
|
5
|
+
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドする
|
6
6
|
|
7
7
|
|
8
8
|
|
@@ -13,6 +13,8 @@
|
|
13
13
|
|
14
14
|
|
15
15
|
ビルドできません。以下の通りです。
|
16
|
+
|
17
|
+
ターゲットが見つかっていないように見えます。
|
16
18
|
|
17
19
|
|
18
20
|
|