質問編集履歴
7
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,56 +9,59 @@
|
|
9
9
|
を参考にし、以下ビルドを行いましたがエラーが出ています。以下の通りです。
|
10
10
|
|
11
11
|
C:\tensorflow>bazel build //tensorflow/contrib/lite/toco:toco
|
12
|
-
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):
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
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':
|
20
|
-
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
12
|
+
> 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):
|
13
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 88
|
14
|
+
> _apply_patch(ctx, ctx.attr.patch_file)
|
15
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
16
|
+
> _execute_and_check_ret_code(ctx, cmd)
|
17
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
18
|
+
> fail("Non-zero return code({1}) when ...))
|
19
|
+
> 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':
|
20
|
+
> Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
21
|
+
>
|
22
|
+
> Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
23
|
+
>
|
24
|
+
> This application has requested the Runtime to terminate it in an unusual way.
|
25
|
+
> Please contact the application's support team for more information.
|
26
|
+
> WARNING: Target pattern parsing failed.
|
27
|
+
> 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):
|
28
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 88
|
29
|
+
> _apply_patch(ctx, ctx.attr.patch_file)
|
30
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
31
|
+
> _execute_and_check_ret_code(ctx, cmd)
|
32
|
+
> File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
33
|
+
> fail("Non-zero return code({1}) when ...))
|
34
|
+
> 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':
|
35
|
+
> Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
36
|
+
>
|
37
|
+
> Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
38
|
+
>
|
39
|
+
> This application has requested the Runtime to terminate it in an unusual way.
|
40
|
+
> Please contact the application's support team for more information.
|
41
|
+
> INFO: Elapsed time: 24.003s
|
42
|
+
> FAILED: Build did NOT complete successfully (0 packages loaded)
|
43
|
+
> currently loading: tensorflow/contrib/lite/toco
|
21
44
|
|
22
|
-
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
23
|
-
|
24
|
-
This application has requested the Runtime to terminate it in an unusual way.
|
25
|
-
Please contact the application's support team for more information.
|
26
|
-
WARNING: Target pattern parsing failed.
|
27
|
-
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):
|
28
|
-
File "C:/tensorflow/third_party/repo.bzl", line 88
|
29
|
-
_apply_patch(ctx, ctx.attr.patch_file)
|
30
|
-
File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
31
|
-
_execute_and_check_ret_code(ctx, cmd)
|
32
|
-
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
33
|
-
fail("Non-zero return code({1}) when ...))
|
34
|
-
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':
|
35
|
-
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
36
|
-
|
37
|
-
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
38
|
-
|
39
|
-
This application has requested the Runtime to terminate it in an unusual way.
|
40
|
-
Please contact the application's support team for more information.
|
41
|
-
INFO: Elapsed time: 24.003s
|
42
|
-
FAILED: Build did NOT complete successfully (0 packages loaded)
|
43
|
-
currently loading: tensorflow/contrib/lite/toco
|
44
|
-
|
45
45
|
### やってみたこと その1 patchまわり (追記)
|
46
46
|
試験的に以下コマンドを打つと
|
47
47
|
patch -p1 -d
|
48
48
|
C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch
|
49
|
-
こうなる
|
50
|
-
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
51
|
-
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
52
|
-
This application has requested the Runtime to terminate it in an unusual way.
|
53
|
-
Please contact the application's support team for more information.
|
54
49
|
|
50
|
+
こうなります
|
51
|
+
> patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
52
|
+
> Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
53
|
+
> This application has requested the Runtime to terminate it in an unusual way.
|
54
|
+
> Please contact the application's support team for more information.
|
55
|
+
|
55
56
|
試験的に後ろに --binary をつけてコマンドを打つと
|
56
57
|
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
|
58
|
+
|
57
|
-
こうな
|
59
|
+
こうなります
|
58
|
-
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
60
|
+
> patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
59
|
-
Hunk #1 succeeded at 750 with fuzz 1 (offset 193 lines).
|
61
|
+
> Hunk #1 succeeded at 750 with fuzz 1 (offset 193 lines).
|
60
|
-
Hunk #2 succeeded at 825 (offset 169 lines).
|
62
|
+
> Hunk #2 succeeded at 825 (offset 169 lines).
|
61
|
-
Hunk #3 succeeded at 906 with fuzz 2 (offset 169 lines).
|
63
|
+
> Hunk #3 succeeded at 906 with fuzz 2 (offset 169 lines).
|
64
|
+
|
62
65
|
ということで、--binary をスクリプトに入れると良いかもと思いましたが、どう入れれば良いのか分かりません。
|
63
66
|
|
64
67
|
参考:https://github.com/tensorflow/tensorflow/issues/10435
|
6
環境、やってみたこと 追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
3
|
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドする
|
4
|
-
環境:Win10
|
4
|
+
環境:Win10 tensorflow1.5.0 bazel 0.9.0
|
5
5
|
|
6
6
|
### 発生している問題・エラーメッセージ
|
7
7
|
|
@@ -40,4 +40,25 @@
|
|
40
40
|
Please contact the application's support team for more information.
|
41
41
|
INFO: Elapsed time: 24.003s
|
42
42
|
FAILED: Build did NOT complete successfully (0 packages loaded)
|
43
|
-
currently loading: tensorflow/contrib/lite/toco
|
43
|
+
currently loading: tensorflow/contrib/lite/toco
|
44
|
+
|
45
|
+
### やってみたこと その1 patchまわり (追記)
|
46
|
+
試験的に以下コマンドを打つと
|
47
|
+
patch -p1 -d
|
48
|
+
C:/users/r3pc/appdata/local/temp/_bazel_r3pc/x1e5egqw/external/protobuf_archive -i C:/tensorflow/third_party/protobuf/add_noinlines.patch
|
49
|
+
こうなる
|
50
|
+
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
51
|
+
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
52
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
53
|
+
Please contact the application's support team for more information.
|
54
|
+
|
55
|
+
試験的に後ろに --binary をつけてコマンドを打つと
|
56
|
+
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
|
57
|
+
こうなる
|
58
|
+
patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
59
|
+
Hunk #1 succeeded at 750 with fuzz 1 (offset 193 lines).
|
60
|
+
Hunk #2 succeeded at 825 (offset 169 lines).
|
61
|
+
Hunk #3 succeeded at 906 with fuzz 2 (offset 169 lines).
|
62
|
+
ということで、--binary をスクリプトに入れると良いかもと思いましたが、どう入れれば良いのか分かりません。
|
63
|
+
|
64
|
+
参考:https://github.com/tensorflow/tensorflow/issues/10435
|
5
OS環境情報追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
3
|
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドする
|
4
|
+
環境:Win10
|
4
5
|
|
5
|
-
|
6
6
|
### 発生している問題・エラーメッセージ
|
7
7
|
|
8
|
+
http://blog.gclue.com/?p=836
|
8
|
-
ビルド
|
9
|
+
を参考にし、以下ビルドを行いましたがエラーが出ています。以下の通りです。
|
9
10
|
|
10
11
|
C:\tensorflow>bazel build //tensorflow/contrib/lite/toco:toco
|
11
12
|
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):
|
4
エラー内容変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,21 +6,8 @@
|
|
6
6
|
### 発生している問題・エラーメッセージ
|
7
7
|
|
8
8
|
ビルドできません。以下の通りです。
|
9
|
-
protocolbuf.bzl
|
10
|
-
patch.exe
|
11
|
-
2点の問題があるように見えます。
|
12
9
|
|
13
|
-
|
10
|
+
C:\tensorflow>bazel build //tensorflow/contrib/lite/toco:toco
|
14
|
-
Loading:
|
15
|
-
Loading: 0 packages loaded
|
16
|
-
Loading: 0 packages loaded
|
17
|
-
currently loading: tensorflow/contrib/lite/toco
|
18
|
-
Loading: 0 packages loaded
|
19
|
-
currently loading: tensorflow/contrib/lite/toco
|
20
|
-
Loading: 0 packages loaded
|
21
|
-
currently loading: tensorflow/contrib/lite/toco
|
22
|
-
Loading: 0 packages loaded
|
23
|
-
currently loading: tensorflow/contrib/lite/toco
|
24
11
|
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):
|
25
12
|
File "C:/tensorflow/third_party/repo.bzl", line 88
|
26
13
|
_apply_patch(ctx, ctx.attr.patch_file)
|
@@ -28,15 +15,13 @@
|
|
28
15
|
_execute_and_check_ret_code(ctx, cmd)
|
29
16
|
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
30
17
|
fail("Non-zero return code({1}) when ...))
|
31
|
-
Non-zero return code(
|
32
|
-
Stdout:
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
installed the cygwin distribution. Rebooting is also suggested if you
|
39
|
-
are unable to find another cygwin DLL.
|
18
|
+
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':
|
19
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
20
|
+
|
21
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
22
|
+
|
23
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
24
|
+
Please contact the application's support team for more information.
|
40
25
|
WARNING: Target pattern parsing failed.
|
41
26
|
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):
|
42
27
|
File "C:/tensorflow/third_party/repo.bzl", line 88
|
@@ -45,25 +30,13 @@
|
|
45
30
|
_execute_and_check_ret_code(ctx, cmd)
|
46
31
|
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
47
32
|
fail("Non-zero return code({1}) when ...))
|
48
|
-
Non-zero return code(
|
49
|
-
Stdout:
|
50
|
-
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
51
|
-
This problem is probably due to using incompatible versions of the cygwin DLL.
|
52
|
-
Search for cygwin1.dll using the Windows Start->Find/Search facility
|
53
|
-
and delete all but the most recent version. The most recent version *should*
|
54
|
-
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
55
|
-
installed the cygwin distribution. Rebooting is also suggested if you
|
56
|
-
are unable to find another cygwin DLL.
|
57
|
-
INFO: Elapsed time: 21.217s
|
58
|
-
FAILED: Build did NOT complete successfully (0 packages loaded)
|
33
|
+
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':
|
34
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
59
35
|
|
36
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
60
37
|
|
38
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
39
|
+
Please contact the application's support team for more information.
|
61
|
-
|
40
|
+
INFO: Elapsed time: 24.003s
|
62
|
-
|
63
|
-
|
41
|
+
FAILED: Build did NOT complete successfully (0 packages loaded)
|
64
|
-
|
65
|
-
環境はWin10。階層構造は以下の通りです。
|
66
|
-
|
42
|
+
currently loading: tensorflow/contrib/lite/toco
|
67
|
-
|
68
|
-
c:/tensorflow にはWORKSPACEファイルがあります。
|
69
|
-
c:/tensorflow/tensorflow/contrib/lite/toco にはBUILDファイルがあります。
|
3
一部内容修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -28,13 +28,15 @@
|
|
28
28
|
_execute_and_check_ret_code(ctx, cmd)
|
29
29
|
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
30
30
|
fail("Non-zero return code({1}) when ...))
|
31
|
-
Non-zero return code(
|
32
|
-
Stdout:
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
31
|
+
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':
|
32
|
+
Stdout:
|
33
|
+
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
34
|
+
This problem is probably due to using incompatible versions of the cygwin DLL.
|
35
|
+
Search for cygwin1.dll using the Windows Start->Find/Search facility
|
36
|
+
and delete all but the most recent version. The most recent version *should*
|
37
|
+
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
38
|
+
installed the cygwin distribution. Rebooting is also suggested if you
|
39
|
+
are unable to find another cygwin DLL.
|
38
40
|
WARNING: Target pattern parsing failed.
|
39
41
|
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):
|
40
42
|
File "C:/tensorflow/third_party/repo.bzl", line 88
|
@@ -43,16 +45,19 @@
|
|
43
45
|
_execute_and_check_ret_code(ctx, cmd)
|
44
46
|
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
45
47
|
fail("Non-zero return code({1}) when ...))
|
46
|
-
Non-zero return code(
|
47
|
-
Stdout:
|
48
|
+
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':
|
49
|
+
Stdout:
|
50
|
+
Stderr: 1 [main] patch (3040) C:\Program Files\Git\usr\bin\patch.exe: *** fatal error - cygheap base mismatch detected - 0x1802F6408/0x1802F7408.
|
51
|
+
This problem is probably due to using incompatible versions of the cygwin DLL.
|
52
|
+
Search for cygwin1.dll using the Windows Start->Find/Search facility
|
53
|
+
and delete all but the most recent version. The most recent version *should*
|
54
|
+
reside in x:\cygwin\bin, where 'x' is the drive on which you have
|
55
|
+
installed the cygwin distribution. Rebooting is also suggested if you
|
56
|
+
are unable to find another cygwin DLL.
|
57
|
+
INFO: Elapsed time: 21.217s
|
58
|
+
FAILED: Build did NOT complete successfully (0 packages loaded)
|
48
59
|
|
49
|
-
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
50
60
|
|
51
|
-
This application has requested the Runtime to terminate it in an unusual way.
|
52
|
-
Please contact the application's support team for more information.
|
53
|
-
INFO: Elapsed time: 21.682s
|
54
|
-
FAILED: Build did NOT complete successfully (0 packages loaded)
|
55
|
-
|
56
61
|
### 試したこと
|
57
62
|
|
58
63
|
上記(bazel build) の実行は、c:/tensorflow の位置で実施しています。
|
2
一部内容修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,17 +6,53 @@
|
|
6
6
|
### 発生している問題・エラーメッセージ
|
7
7
|
|
8
8
|
ビルドできません。以下の通りです。
|
9
|
+
protocolbuf.bzl
|
10
|
+
patch.exe
|
9
|
-
|
11
|
+
2点の問題があるように見えます。
|
10
12
|
|
11
|
-
$ bazel build /tensorflow/contrib/lite/toco:toco
|
13
|
+
$ bazel build //tensorflow/contrib/lite/toco:toco
|
12
14
|
Loading:
|
13
15
|
Loading: 0 packages loaded
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
Loading: 0 packages loaded
|
17
|
+
currently loading: tensorflow/contrib/lite/toco
|
18
|
+
Loading: 0 packages loaded
|
19
|
+
currently loading: tensorflow/contrib/lite/toco
|
20
|
+
Loading: 0 packages loaded
|
21
|
+
currently loading: tensorflow/contrib/lite/toco
|
22
|
+
Loading: 0 packages loaded
|
23
|
+
currently loading: tensorflow/contrib/lite/toco
|
24
|
+
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):
|
25
|
+
File "C:/tensorflow/third_party/repo.bzl", line 88
|
26
|
+
_apply_patch(ctx, ctx.attr.patch_file)
|
27
|
+
File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
28
|
+
_execute_and_check_ret_code(ctx, cmd)
|
29
|
+
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
30
|
+
fail("Non-zero return code({1}) when ...))
|
31
|
+
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':
|
32
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
19
33
|
|
34
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
35
|
+
|
36
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
37
|
+
Please contact the application's support team for more information.
|
38
|
+
WARNING: Target pattern parsing failed.
|
39
|
+
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):
|
40
|
+
File "C:/tensorflow/third_party/repo.bzl", line 88
|
41
|
+
_apply_patch(ctx, ctx.attr.patch_file)
|
42
|
+
File "C:/tensorflow/third_party/repo.bzl", line 59, in _apply_patch
|
43
|
+
_execute_and_check_ret_code(ctx, cmd)
|
44
|
+
File "C:/tensorflow/third_party/repo.bzl", line 44, in _execute_and_check_ret_code
|
45
|
+
fail("Non-zero return code({1}) when ...))
|
46
|
+
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':
|
47
|
+
Stdout: patching file src/google/protobuf/compiler/cpp/cpp_file.cc
|
48
|
+
|
49
|
+
Stderr: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
|
50
|
+
|
51
|
+
This application has requested the Runtime to terminate it in an unusual way.
|
52
|
+
Please contact the application's support team for more information.
|
53
|
+
INFO: Elapsed time: 21.682s
|
54
|
+
FAILED: Build did NOT complete successfully (0 packages loaded)
|
55
|
+
|
20
56
|
### 試したこと
|
21
57
|
|
22
58
|
上記(bazel build) の実行は、c:/tensorflow の位置で実施しています。
|
1
タイトル修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
tensorflowのソースコードから
|
1
|
+
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドしたい
|
body
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
|
-
tensorflowのソースコードから
|
3
|
+
tensorflowのソースコードからtensowflow liteコンバータ(toco)をビルドする
|
4
4
|
|
5
5
|
|
6
6
|
### 発生している問題・エラーメッセージ
|
7
7
|
|
8
8
|
ビルドできません。以下の通りです。
|
9
|
+
ターゲットが見つかっていないように見えます。
|
9
10
|
|
10
11
|
$ bazel build /tensorflow/contrib/lite/toco:toco
|
11
12
|
Loading:
|