Closed skn123 closed 7 years ago
So, that's odd. So, firstly, reading through the output above, just to summarize:
c3496af80cc9
ad8d6eb831b90fa75640f5fd094a242c11cd09f212a901d8cc86537da77ace85
('checksum was')65307fd9d42a325527f62acd17f01ebb01243cce4c9fc227381d59141d36b019
('but wnated')So, here's whats odd: if we look at the sourcecode, in master
branch, we see:
https://github.com/hughperkins/tf-coriander/blob/master/tensorflow/workspace.bzl#L17-L18
eigen_version = "c3496af80cc9"
eigen_sha256 = "ad8d6eb831b90fa75640f5fd094a242c11cd09f212a901d8cc86537da77ace85"
We see that:
master
sourcecode, matches the checksum of the blob you downloaded, ie matches the checksum was
bitSo, the curious bit is, why is the but wanted
bit different in the code you are using, compared to the code in master
branch?
Can you provide the output of the following commands please?
git status
git log -n 5 --oneline
Hugh I figured that out. Apparently you have a line of code there to check the latest sha # of eigen and change that appropriately. I did that and it built without a flaw. I am having a different error now:
https://gist.github.com/hughperkins/0a30240c1835388eaa3fddcada349c5c
[edited by hugh, to move to gist]
What if I do not want the python libraries and only cared for the C++ libraries? Is there some way I can enable that in this build? BTW.. I surely do miss DeepCL here. Why has google screwed it up here :dagger:
Reading. Dont suppose... do you mind moving the, very useful, but quite long :-) , output into a https://gist.github.com please? :-)
ok. Will do that.
What if I do not want the python libraries and only cared for the C++ libraries? Is there some way I can enable that in this build? BTW.. I surely do miss DeepCL here. Why has google screwed it up here 🗡
Oh, yeah, I totally agree. I found this a major pain-point whilst develping tf-coriander: in order to test anything, I have to build the whole world, including all the python stuff. Takes forever.
For very simple examples, like really insanely simple, I managed to get stuff working without building python, but anything beyond that, I spent I dunno 10-30 hours hacking around trying to figure out how to do stuff in c++, and finally found it easier tjust to write it in python, and put up with the insane build times...
tldr; I agree that a c++ api would be nice, and havent figured out how to use tensorflow as a c++ library.
As far as your build error, I've never seen that error before. Have you changed somethign bout the build? I've been building on ubuntu 16.04, and never seen anything like that. If you havnet changed antyhing about the ocde/build, can you try redoing the whole ./configure
bit? Should just be like ./configure
, then press enter a half-dozen times, accepting all the defaults, as long as you have created and activated a python 3 virtualenv first.
In the case that you have modified something about the sourcecode/build process ,what things have you chagned?
Oh BTW.. thanks.. You can close this issue. This is so much hassle. I will stick with Caffe and DeepCL (which sadly is an orphan now. No new updates at all)
Ok. Question: why did you choose not to use the pre-built wheel, and instead want to build from source?
____Downloading http://github.com/google/protobuf/archive/v3.1.0.tar.gz via codeload.github.com: 4,008,804 bytes ERROR: /home/admin/srcs/tf-coriander/third_party/eigen3/BUILD:12:1: no such package '@eigen_archive//': Error downloading [http://bitbucket.org/hughperkins/eigen/get/c3496af80cc9.tar.gz] to /home/admin/.cache/bazel/_bazel_admin/5248d45850a159c0f72dd5c3cd93076b/external/eigen_archive/c3496af80cc9.tar.gz: Checksum was ad8d6eb831b90fa75640f5fd094a242c11cd09f212a901d8cc86537da77ace85 but wanted 65307fd9d42a325527f62acd17f01ebb01243cce4c9fc227381d59141d36b019 and referenced by '//third_party/eigen3:eigen3'. ERROR: /home/admin/srcs/tf-coriander/third_party/eigen3/BUILD:12:1: no such package '@eigen_archive//': Error downloading [http://bitbucket.org/hughperkins/eigen/get/c3496af80cc9.tar.gz] to /home/admin/.cache/bazel/_bazel_admin/5248d45850a159c0f72dd5c3cd93076b/external/eigen_archive/c3496af80cc9.tar.gz: Checksum was ad8d6eb831b90fa75640f5fd094a242c11cd09f212a901d8cc86537da77ace85 but wanted 65307fd9d42a325527f62acd17f01ebb01243cce4c9fc227381d59141d36b019 and referenced by '//third_party/eigen3:eigen3'.
What should be the fix for this?