New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New files for Tensorflow Lite Micro Speech Example targetting the Eta… #24222
Conversation
… Compute ECM3531 evaluation board
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I signed it
…On Fri, Dec 7, 2018 at 11:10 AM googlebot ***@***.***> wrote:
Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 *Please visit https://cla.developers.google.com/
<https://cla.developers.google.com/> to sign.*
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
------------------------------
What to do if you already signed the CLA Individual signers
- It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
<https://cla.developers.google.com/clas> and verify that your email is
set on your git commits
<https://help.github.com/articles/setting-your-email-in-git/>.
Corporate signers
- Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version <https://opensource.google.com/docs/cla/#troubleshoot>).
- The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
<https://cla.developers.google.com/clas> and verify that your email is
set on your git commits
<https://help.github.com/articles/setting-your-email-in-git/>.
- The email used to register you as an authorized contributor must
also be attached to your GitHub account
<https://github.com/settings/emails>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24222 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aq2lOJJ63pWG0mCPovD4SimhUV45x5-kks5u2r05gaJpZM4ZI_Co>
.
|
CLA has been signed again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Hari! I've added some initial comments, could you also run clang-format on the .c files to standardize them with the rest of the code base (selecting the Google style)? This is looking good, I hope we can get it in soon.
@@ -0,0 +1,97 @@ | |||
/******************************************************************************* | |||
* Copyright (C) 2018 Eta Compute, Inc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update this to be:
* Copyright (C) 2018 Eta Compute, Inc | |
* Copyright 2018 The TensorFlow Authors. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,88 @@ | |||
/******************************************************************************* | |||
* | |||
* Copyright (C) 2018 Eta Compute, Inc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this to be:
* Copyright (C) 2018 Eta Compute, Inc | |
* Copyright 2018 The TensorFlow Authors. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,35 @@ | |||
#!/usr/bin/python3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a copyright notice here?
#!/usr/bin/python3 | |
#!/usr/bin/python3 | |
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
# ============================================================================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,35 @@ | |||
#!/usr/bin/python3 | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a quick comment about usage, even if it's just pointing back to the main doc file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,592 @@ | |||
/******************************************************************************* | |||
* | |||
* Copyright (C) 2018 Eta Compute, Inc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this to be:
* Copyright (C) 2018 Eta Compute, Inc | |
* Copyright 2018 The TensorFlow Authors. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* limitations under the License. | ||
* | ||
******************************************************************************/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some brief comments about what this file is for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
#include "memio.h" | ||
|
||
|
||
//#pragma GCC optimize ("align-functions=16") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this dead code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
// | ||
//***************************************************************************** | ||
|
||
#define NAKED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only used in one place that I see, can we just remove it entirely for clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
I signed it |
CLAs look good, thanks! |
Is there something else we need to do to trigger the remaining checks that haven't completed? /cc @gunan |
The failure in the
|
So only the copybara check is required. Is there a way to kick that off?
Alos, what is the protocol here, should I reply to your emails on Gmail or
on Github?
…On Sun, Dec 16, 2018 at 5:29 PM Pete Warden ***@***.***> wrote:
The failure in the MacOS Python2 and CC test appears to be unrelated to
any code here:
==================== Test output for //tensorflow/core:platform_port_test:
Running main() from test_main.cc
[==========] Running 5 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from Port
[ RUN ] Port.AlignedMalloc
[ OK ] Port.AlignedMalloc (0 ms)
[ RUN ] Port.GetCurrentCPU
tensorflow/core/platform/port_test.cc:38: Failure
Expected: (cpu) >= (0), actual: -1 vs 0
[ FAILED ] Port.GetCurrentCPU (0 ms)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24222 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aq2lOPBF2k45td88eNLz0I2yVqzYTRbuks5u5vN-gaJpZM4ZI_Co>
.
|
I believe somebody internal should take care of the copybara check once the tests pass, and I've just seen that Gunhan was able to kick off tests by adding the kokoro:force-run flag, so I've tried doing the same to see if we can rerun the tests. Thanks for your patience, hopefully we'll have this through soon! |
Thanks Pete. Looks like the checks passed! |
Causes a missing-copyright error on internal verification
The stub .sh file caused an error internally because it didn't have a copyright notice, so I've removed that and will rerun the tests. |
Should I check in the test_ecm3531_binary.sh file with the copyright added? |
No, I removed it already so I think we're good. |
There are 3 checks now that are failing but earlier today it showed that all the tests passed. What gives? |
One point about removing the test_ecm3531_binary.sh file is that the
makefile complains about not finding the file and will report that the make
failed. It will generate the .elf file though. So this script was added
just to satisfy the makefile and not confuse the user who may else thin
that there was a compilation error. So it will be good to have this file
checked in. But I dont know if the checks that the tensorflow build is now
complaining about is related to this or not.
make: tensorflow/lite/experimental/micro/testing/test_ecm3531_binary.sh:
Command not found
/home/hari/tensorflow_fork/tensorflow/tensorflow/lite/experimental/micro/tools/make/Makefile:171:
recipe for target 'test_micro_speech' failed
make: *** [test_micro_speech] Error 127
…On Mon, Dec 17, 2018 at 2:19 PM Pete Warden ***@***.***> wrote:
The stub .sh file caused an error internally because it didn't have a
copyright notice, so I've removed that and will rerun the tests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24222 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aq2lOC4_apfrJxD7MW6BLq2CJP126r1Iks5u6BhegaJpZM4ZI_Co>
.
|
The previous errors were for Windows but now the MacOS and Ubuntu builds show errors. None of the errors are related to the files I checked in. So how does one make this process converge? |
There were build breakages merged to master branch. |
Thanks. This time the "MacOS Contrib" check has failed as earlier, but the "Ubuntu contrib" test which passed before now fails. But two of the earlier checks that failed, now pass ("MacOS Python2" and "Ubuntu Python3"). |
PiperOrigin-RevId: 226966660
… Compute ECM3531 evaluation board