ttitcombe / nopeeknn Goto Github PK
View Code? Open in Web Editor NEWPyTorch implementation of NoPeekNN
License: Apache License 2.0
PyTorch implementation of NoPeekNN
License: Apache License 2.0
I'm wondering if splitNN works fine without pysyft.
If I use branch no-syft will it work the way I want to use pysyft?
I want complete separation of server network and clients.
Is it possible with branch no-syft?
this line is needed after " image, _ = mnist_test[i]" in the notebook: image = image.to(device)
Hi,
Probably it is because I'm pretty new with Pytorch and Pysyft but I have some problems to run your code:
If I try:
conda env create -f environment.yml
It creates the conda env but if I run:
python main.py --nopeek_weight 0.1 --epoch 1 --batch_size 32 --learning_rate 0.001 --saveas namemodel --n_train_data 5000
there is the following error:
RuntimeError: shape '[0, -1]' is invalid for input of size 25088
located here:
input_data = input_data.view(input_data.size(0), -1) line 25 - loss.py
Then I tried to create the environment in this way but I can't because if I run this:
conda env create -f environment-lock.yml
I have the following error:
Solving environment: failed
ResolvePackageNotFound:
I'm using linux...
Thank you in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.