-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
264c6fe
commit c0a6dba
Showing
166 changed files
with
40,503 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
data | ||
*.tgz | ||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
data | ||
*.npz | ||
*.tgz | ||
*.tar.gz | ||
.mnist-keras | ||
client.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
FEDn Project: Keras/Tensorflow (MNIST) | ||
------------------------------------------- | ||
|
||
This is a TF/Keras version of the PyTorch Quickstart Tutorial. For a step-by-step guide, refer to that tutorial. | ||
|
||
**Note: We recommend all new users to start by following the Quickstart Tutorial: https://fedn.readthedocs.io/en/latest/quickstart.html** | ||
|
||
Prerequisites | ||
------------------------------------------- | ||
|
||
- `Python >=3.8, <=3.12 <https://www.python.org/downloads>`__ | ||
|
||
Creating the compute package and seed model | ||
------------------------------------------- | ||
|
||
Install fedn: | ||
|
||
.. code-block:: | ||
pip install fedn | ||
Clone this repository, then locate into this directory: | ||
|
||
.. code-block:: | ||
git clone https://github.com/scaleoutsystems/fedn.git | ||
cd fedn/examples/mnist-keras | ||
Create the compute package: | ||
|
||
.. code-block:: | ||
fedn package create --path client | ||
This should create a file 'package.tgz' in the project folder. | ||
|
||
Next, generate a seed model (the first model in a global model trail): | ||
|
||
.. code-block:: | ||
fedn run build --path client | ||
This step will take a few minutes, depending on hardware and internet connection (builds a virtualenv). | ||
|
||
Running the project on FEDn | ||
---------------------------- | ||
|
||
To learn how to set up your FEDn Studio project and connect clients, take the quickstart tutorial: https://fedn.readthedocs.io/en/stable/quickstart.html. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"num_examples": 600, "batch_size": 32, "epochs": 1, "lr": 0.001} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
*.o | ||
*.dSYM | ||
*.csv | ||
*.out | ||
*.png | ||
*.jpg | ||
*.pyc | ||
old/ | ||
mnist/ | ||
data/ | ||
caffe/ | ||
grasp/ | ||
images/ | ||
opencv/ | ||
convnet/ | ||
decaf/ | ||
submission/ | ||
cfg/ | ||
darknet | ||
.fuse* | ||
|
||
# OS Generated # | ||
.DS_Store* | ||
ehthumbs.db | ||
Icon? | ||
Thumbs.db | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
YOLO LICENSE | ||
Version 2, July 29 2016 | ||
|
||
THIS SOFTWARE LICENSE IS PROVIDED "ALL CAPS" SO THAT YOU KNOW IT IS SUPER | ||
SERIOUS AND YOU DON'T MESS AROUND WITH COPYRIGHT LAW BECAUSE YOU WILL GET IN | ||
TROUBLE HERE ARE SOME OTHER BUZZWORDS COMMONLY IN THESE THINGS WARRANTIES | ||
LIABILITY CONTRACT TORT LIABLE CLAIMS RESTRICTION MERCHANTABILITY. NOW HERE'S | ||
THE REAL LICENSE: | ||
|
||
0. Darknet is public domain. | ||
1. Do whatever you want with it. | ||
2. Stop emailing me about it! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
RNN LICENSE Version 3, June 21 2017 | ||
|
||
Copyright (c) 1990, 1989, 1999 Free87337 May 48 THIRD PARTIES OR ANY OTHER THE | ||
COMPLAIN OR CONSEQUENTIAL DAMAGES AND REGARDLESS OF WHETHER IN CONTRACT, TO THE | ||
EXTENT REPAIR OR AGENTS (NOT THE IN ANY EVENT). THE SOFTWARE WILL BE | ||
UNINTERRUPTED OR ERROR-FREE OR ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
OUT OF THE USE OF ALL THE WORK (GOVERNED CODE) HIM RESPONSES, OR OF FINES, | ||
SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR ANY OTHER OR OTHER HARL UNDER NO | ||
CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), | ||
PATENT PERMITTED BY THE INSTAGRAM PARENT STATE OR TORT (INCLUDING NEGLIGENCE), | ||
PRODUCT LIABILITY OR OTHERWISE, ARISING OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR ANYTHING PROVIDED IN THIS PRODUCT, COMMIS AND SERVICES | ||
ARE LICENSED SOFTWARE AND ANY RESULE OR ANY OTHER THE COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY SPECIAL, INCIDENTAL, CASE, SUCH WARRANTIES, EXPRESS OR IMPLIED, | ||
INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COPYRIGHT HOLDERS AND/OR ANY | ||
PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY | ||
EXPRESS OR DISTRIBUTE THAT ALL CLAIMS ARE SHALL CREATE DERAVE BE LIABLE TO YOU | ||
WILL HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. | ||
|
||
6\. TERMINATION. TO THE EXTENT PERMITTED BY LAW, NO USE OF THE COVERED CODE IS | ||
WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE | ||
INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY | ||
SERVICING, REPAIR OR COULT OR IN ANY WAY OUT OF THE USE OF THE WEBSITES OR | ||
SERVICE WILL BE CONSEQUENTIAL DAMAGES OF ANY KIND HAS BEEN ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGES. | ||
|
||
|
||
This paragraph Agreement constitutes the entire agreement between the parties | ||
with respect to the Work licensed here. However, if you place the name of the | ||
fact that the arbitration was the consultation of the parties as a "patent is". | ||
Subject to the terms and conditions of this License, Contributor has knowledge | ||
that a license under a third party may also be used to endorse or promote | ||
products derived from the Work, and there is no warranty on the Software and | ||
Science Fees. For the purposes of this Agreement, attach the following | ||
disclaimers (without liabilities of written notice to the Subject Software) in a | ||
manner that a product is under common control with you. The Free Software | ||
Foundation may publish revised and/or new versions of the License for the | ||
Modifications made by the applicable terms. The Recipient shall promptly retain | ||
the covered works for any reason be entered in any federal or state or login | ||
Restricted Laws appearing in the United States or any of its own information | ||
that is not disabled from a derivative work except as expressly permitted in | ||
this License, to the extent that they are in receiving the Software and Source | ||
Code or any exercise of the rights granted to You by this License or a | ||
Contributor made by the Licensor or are authorized to make a reasonable | ||
retirement by the courts of the courts located in Santa Clara County, California | ||
printed and related to the Work or “Company” and Apache Software Foundation. If | ||
the Licensor shall be entitled to reflect your rights to use the Software and | ||
the Software to exercise the rights granted to the recipient without a | ||
requirement to exercise the rights granted by the Agreement to the provision | ||
will begin will appear in such cases, you will use such information without such | ||
corporation shall be an officer with respect to any part of the Software or any | ||
portion thereof. Capitalized terms are included in the Initial Contributor and | ||
under no circumstances will license the Service at any time and for any direct, | ||
indirect, special, incidental, or consequential damages of or assist in | ||
connection with any Services or the registration purposes only to the extent | ||
that it includes any or all means including the processing of which you download | ||
any derivative work. Any of the purchases’ transmission purposes are made | ||
available, if any, in other circumstances, we may review the copyright notice. | ||
In the event that this Agreement is required to give us strict content. The | ||
inclusion of the other party hereunder may also notify you Intellectual Property | ||
Rights to any third party. This means that the Source Code exists of the Work | ||
will not charge a program available to you at any time. You must include a | ||
prominent statement that the Software is governed under a particular version of | ||
this Agreement. You must include a provision to the extent that there is no | ||
warranty for the content of others. You agree that the Recipient was appointed | ||
as a Contributor, (c) are effective until terminated by hereunder, then the | ||
registration are not disabled and not limited to, submit any Customer Data | ||
without the updated use of the Software and that no fee is released. You grant | ||
to Use Other Arbitration Rules for Diagnostic or Services may use or modify the | ||
Apple Software and Consolidated Apple Software or Services. The Company may have | ||
full risk as a product of the Compatible Source. A Contribution by the Licensor | ||
or by the updated Software under the following conditions we can redistribute | ||
any General Provision of this Agreement. If the Program is used in accordance | ||
with the terms of this Agreement, Customer may provide advertisements from your | ||
devices that clause you can your employer or a transaction or country that has | ||
been controlled by the arbitrator, that they will be useful of this Agreement. | ||
The term "Open Source Software is available in connection with the program, and | ||
you may not protect the combination of the Covered Code. You should like to | ||
select a user's rights to charge a copy of this License. I are Contributor's | ||
confidentiality of the exercise of the rights granted herein. Such a covered | ||
work is released as a consequence, the Licensor shall be eligible for a purpose | ||
or subcontractor of the person or entity to the user of the user, then the word | ||
"Application" means having the original fee for any reason; and that no patent | ||
license to more than fifty stated close of the license term. The terms of this | ||
License will the license terms and conditions set forth in Section 2.2 (OPEC) | ||
and You will not use the Software or any set of responsibility for any resulting | ||
information that the Original Code warrants that you have the right to disclose | ||
these information (or in the notification; or (iii) late use of the software or | ||
any third party to the three (50) days before such belief to the extent that it | ||
includes a court court obtains the rights granted by this License. |
Oops, something went wrong.