From f31440a27d77303439084cf7e4943131f3bf311d Mon Sep 17 00:00:00 2001 From: Nishant Kumar <t-niskum@microsoft.com> Date: Thu, 19 Sep 2019 00:54:21 +0530 Subject: [PATCH] Small fix to license. --- Athos/CompileTF.sh | 4 ++-- Athos/HelperScripts/Prepare_ImageNet_Val.sh | 2 ++ Athos/HelperScripts/RunPorthosInference_ImageNet.sh | 5 ++--- Athos/HelperScripts/SetupCIFAR10.sh | 4 ++-- Athos/Networks/ChestXRay/SetupPretrainedTFModel.sh | 4 ++-- .../DenseNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh | 3 ++- .../DenseNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh | 3 ++- .../Networks/DenseNet/AccuracyAnalysisHelper/helper_temp.sh | 4 ++-- .../ResNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh | 4 ++-- .../ResNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh | 4 ++-- .../AccuracyAnalysisHelper/PreProcess_ImageNet.sh | 3 ++- .../AccuracyAnalysisHelper/RunInference_ImageNet.sh | 3 ++- EzPC/EzPC/ezpc.sh | 3 ++- EzPC/EzPC/runtests.sh | 4 ++-- Porthos/setup-eigen.sh | 4 ++-- 15 files changed, 30 insertions(+), 24 deletions(-) diff --git a/Athos/CompileTF.sh b/Athos/CompileTF.sh index 9aa6c33..404461d 100644 --- a/Athos/CompileTF.sh +++ b/Athos/CompileTF.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - ########################################################################################## # This is the CrypTFlow compilation script. # Use this on a network to compile to MPC protocol. diff --git a/Athos/HelperScripts/Prepare_ImageNet_Val.sh b/Athos/HelperScripts/Prepare_ImageNet_Val.sh index c522e0b..1f822d3 100644 --- a/Athos/HelperScripts/Prepare_ImageNet_Val.sh +++ b/Athos/HelperScripts/Prepare_ImageNet_Val.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: diff --git a/Athos/HelperScripts/RunPorthosInference_ImageNet.sh b/Athos/HelperScripts/RunPorthosInference_ImageNet.sh index 5e542ef..c43cbfd 100644 --- a/Athos/HelperScripts/RunPorthosInference_ImageNet.sh +++ b/Athos/HelperScripts/RunPorthosInference_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,9 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. - -#!/bin/bash - NUMIMAGES=96 NUMPROCESSES=16 PERPROCESSIMAGES=$((NUMIMAGES / NUMPROCESSES)) diff --git a/Athos/HelperScripts/SetupCIFAR10.sh b/Athos/HelperScripts/SetupCIFAR10.sh index f769f5a..320e0bc 100644 --- a/Athos/HelperScripts/SetupCIFAR10.sh +++ b/Athos/HelperScripts/SetupCIFAR10.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - cifar10DownloadLink="https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz" axel -a -n 3 -c --output CIFAR10 "$cifar10DownloadLink" cd CIFAR10 diff --git a/Athos/Networks/ChestXRay/SetupPretrainedTFModel.sh b/Athos/Networks/ChestXRay/SetupPretrainedTFModel.sh index 33433ac..8cd17cf 100644 --- a/Athos/Networks/ChestXRay/SetupPretrainedTFModel.sh +++ b/Athos/Networks/ChestXRay/SetupPretrainedTFModel.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - kerasModelLink="https://chestxray.blob.core.windows.net/chestxraytutorial/tutorial_xray/chexray_14_weights_712split_epoch_054_val_loss_191.2588.hdf5" axel -a -n 3 -c --output PreTrainedModel/KerasModel "$kerasModelLink" cd PreTrainedModel diff --git a/Athos/Networks/DenseNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh b/Athos/Networks/DenseNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh index d4cdfdd..8367d5c 100644 --- a/Athos/Networks/DenseNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh +++ b/Athos/Networks/DenseNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,7 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash NUMIMAGES=1000 NUMPROCESSES=2 diff --git a/Athos/Networks/DenseNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh b/Athos/Networks/DenseNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh index 449654b..08b20b8 100644 --- a/Athos/Networks/DenseNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh +++ b/Athos/Networks/DenseNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,7 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash NUMIMAGES=50000 NUMPROCESSES=32 diff --git a/Athos/Networks/DenseNet/AccuracyAnalysisHelper/helper_temp.sh b/Athos/Networks/DenseNet/AccuracyAnalysisHelper/helper_temp.sh index 3fc19f1..6d1af50 100644 --- a/Athos/Networks/DenseNet/AccuracyAnalysisHelper/helper_temp.sh +++ b/Athos/Networks/DenseNet/AccuracyAnalysisHelper/helper_temp.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - TOTALIMG=50000 . ./Paths.config diff --git a/Athos/Networks/ResNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh b/Athos/Networks/ResNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh index 908feae..aae4985 100644 --- a/Athos/Networks/ResNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh +++ b/Athos/Networks/ResNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - NUMIMAGES=50000 NUMPROCESSES=32 PERPROCESSIMAGES=$((NUMIMAGES / NUMPROCESSES)) diff --git a/Athos/Networks/ResNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh b/Athos/Networks/ResNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh index 9a68333..a75c037 100644 --- a/Athos/Networks/ResNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh +++ b/Athos/Networks/ResNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - NUMIMAGES=50000 NUMPROCESSES=32 PERPROCESSIMAGES=$((NUMIMAGES / NUMPROCESSES)) diff --git a/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh b/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh index e2f3898..cdbfd9b 100644 --- a/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh +++ b/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/PreProcess_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,7 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash NUMIMAGES=1000 NUMPROCESSES=5 diff --git a/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh b/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh index 4ea83b4..3ce4164 100644 --- a/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh +++ b/Athos/Networks/SqueezeNetImgNet/AccuracyAnalysisHelper/RunInference_ImageNet.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,7 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash NUMIMAGES=1000 NUMPROCESSES=6 diff --git a/EzPC/EzPC/ezpc.sh b/EzPC/EzPC/ezpc.sh index 4705fd2..9996733 100644 --- a/EzPC/EzPC/ezpc.sh +++ b/EzPC/EzPC/ezpc.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,7 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash POSITIONAL=() allArgs="" diff --git a/EzPC/EzPC/runtests.sh b/EzPC/EzPC/runtests.sh index a4de9d4..31bee97 100644 --- a/EzPC/EzPC/runtests.sh +++ b/EzPC/EzPC/runtests.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Nishant Kumar. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/bash - timeout=1m testDir="./test_suite" precompiledCodeDir="./test_suite/precompiled_output" diff --git a/Porthos/setup-eigen.sh b/Porthos/setup-eigen.sh index 8c69bf5..86f4818 100755 --- a/Porthos/setup-eigen.sh +++ b/Porthos/setup-eigen.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Authors: Mayank Rathee. # Copyright: @@ -18,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -#!/bin/sh - #Get stable Eigen 3.3.7 wget http://bitbucket.org/eigen/eigen/get/3.3.7.tar.gz -- GitLab