Skip to content
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

Update main.py #96

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/data
/data/*
*.txt
1 change: 1 addition & 0 deletions STDIN.e7618254
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-bash: line 1: /var/spool/pbs/mom_priv/jobs/7618254.pbs02.SC: No such file or directory
16 changes: 16 additions & 0 deletions STDIN.o7618254
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


+------------------------------------------+
| PALMETTO CLUSTER PBS RESOURCES REQUESTED |
+------------------------------------------+

mem=128gb,ncpus=8,walltime=00:03:00


+-------------------------------------+
| PALMETTO CLUSTER PBS RESOURCES USED |
+-------------------------------------+

cpupercent=0,cput=00:00:00,mem=0kb,ncpus=8,vmem=0kb,walltime=00:00:00


43 changes: 43 additions & 0 deletions ShuffleNetV2_CIFAR10_10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Step: 341ms | Tot: 16s476ms | Loss: 1.857 | Acc: 28.912% (14456/50000) 391/391
Step: 15ms | Tot: 1s618ms | Loss: 1.610 | Acc: 40.040% (4004/10000) 100/100
Step: 44ms | Tot: 16s645ms | Loss: 1.481 | Acc: 45.200% (22600/50000) 391/391
Step: 16ms | Tot: 1s595ms | Loss: 1.347 | Acc: 50.600% (5060/10000) 100/100
Step: 42ms | Tot: 16s486ms | Loss: 1.275 | Acc: 53.754% (26877/50000) 391/391
Step: 15ms | Tot: 1s648ms | Loss: 1.206 | Acc: 56.500% (5650/10000) 100/100
Step: 40ms | Tot: 16s424ms | Loss: 1.110 | Acc: 59.984% (29992/50000) 391/391
Step: 15ms | Tot: 1s607ms | Loss: 1.076 | Acc: 61.740% (6174/10000) 100/100
Step: 43ms | Tot: 16s600ms | Loss: 0.979 | Acc: 65.034% (32517/50000) 391/391
Step: 15ms | Tot: 1s610ms | Loss: 0.864 | Acc: 69.380% (6938/10000) 100/100
Step: 40ms | Tot: 15s994ms | Loss: 0.871 | Acc: 69.306% (34653/50000) 391/391
Step: 16ms | Tot: 1s682ms | Loss: 0.853 | Acc: 70.590% (7059/10000) 100/100
Step: 41ms | Tot: 16s609ms | Loss: 0.781 | Acc: 72.490% (36245/50000) 391/391
Step: 15ms | Tot: 1s599ms | Loss: 0.741 | Acc: 74.130% (7413/10000) 100/100
Step: 39ms | Tot: 16s475ms | Loss: 0.725 | Acc: 74.726% (37363/50000) 391/391
Step: 15ms | Tot: 1s644ms | Loss: 0.741 | Acc: 74.220% (7422/10000) 100/100
Step: 41ms | Tot: 16s508ms | Loss: 0.668 | Acc: 76.736% (38368/50000) 391/391
Step: 16ms | Tot: 1s685ms | Loss: 0.670 | Acc: 76.990% (7699/10000) 100/100
Step: 42ms | Tot: 16s539ms | Loss: 0.629 | Acc: 78.240% (39120/50000) 391/391
Step: 16ms | Tot: 1s649ms | Loss: 0.608 | Acc: 79.190% (7919/10000) 100/100

Training + Testing time = 3.1768731474876404 minutes Step: 326ms | Tot: 16s544ms | Loss: 1.907 | Acc: 26.338% (13169/50000) 391/391
Step: 15ms | Tot: 1s698ms | Loss: 1.607 | Acc: 39.590% (3959/10000) 100/100
Step: 45ms | Tot: 17s104ms | Loss: 1.517 | Acc: 43.326% (21663/50000) 391/391
Step: 16ms | Tot: 1s632ms | Loss: 1.371 | Acc: 49.700% (4970/10000) 100/100
Step: 46ms | Tot: 16s215ms | Loss: 1.266 | Acc: 53.868% (26934/50000) 391/391
Step: 15ms | Tot: 1s582ms | Loss: 1.124 | Acc: 58.550% (5855/10000) 100/100
Step: 41ms | Tot: 16s507ms | Loss: 1.104 | Acc: 60.212% (30106/50000) 391/391
Step: 15ms | Tot: 1s670ms | Loss: 1.000 | Acc: 63.820% (6382/10000) 100/100
Step: 43ms | Tot: 16s659ms | Loss: 0.971 | Acc: 65.162% (32581/50000) 391/391
Step: 16ms | Tot: 1s616ms | Loss: 0.885 | Acc: 68.550% (6855/10000) 100/100
Step: 45ms | Tot: 16s553ms | Loss: 0.874 | Acc: 68.936% (34468/50000) 391/391
Step: 15ms | Tot: 1s659ms | Loss: 0.832 | Acc: 70.740% (7074/10000) 100/100
Step: 41ms | Tot: 16s562ms | Loss: 0.783 | Acc: 72.348% (36174/50000) 391/391
Step: 15ms | Tot: 1s626ms | Loss: 0.742 | Acc: 74.290% (7429/10000) 100/100
Step: 44ms | Tot: 16s624ms | Loss: 0.716 | Acc: 74.918% (37459/50000) 391/391
Step: 16ms | Tot: 1s638ms | Loss: 0.672 | Acc: 76.660% (7666/10000) 100/100
Step: 40ms | Tot: 16s626ms | Loss: 0.664 | Acc: 76.846% (38423/50000) 391/391
Step: 15ms | Tot: 1s677ms | Loss: 0.683 | Acc: 76.600% (7660/10000) 100/100
Step: 42ms | Tot: 16s802ms | Loss: 0.619 | Acc: 78.452% (39226/50000) 391/391
Step: 15ms | Tot: 1s637ms | Loss: 0.602 | Acc: 79.460% (7946/10000) 100/100

Training + Testing time = 3.2073554515838625 minutes
Binary file added __pycache__/utils.cpython-36.pyc
Binary file not shown.
Binary file added checkpoint/ckpt.pth
Binary file not shown.
Binary file added checkpoint/ckpt.pth.orig
Binary file not shown.
2 changes: 2 additions & 0 deletions gpu_run.e7622656
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/home/rbhanda/.conda/envs/roshan/lib/python3.6/site-packages/torch/nn/functional.py:1332: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
44 changes: 44 additions & 0 deletions gpu_run.o7622656

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions gpu_run.pbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

#PBS -N gpu_run
#PBS -l select=1:ncpus=8:mem=128gb:ngpus=1:gpu_model=v100,walltime=48:00:00

module add anaconda3/5.1.0
module add cuda-toolkit/9.0.176
module add cuDNN/9.0v7.3.0
source activate roshan

cd /home/rbhanda/roshan/pytorch-cifar/
python main.py --lr=0.01

3 changes: 3 additions & 0 deletions info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ShuffleNetV2 CIFAR10 128 100 1
DPN92 CIFAR10 128 100 1
SENet18 CIFAR10 128 100 1
7 changes: 7 additions & 0 deletions info.txt.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<<<<<<< HEAD
ShuffleNetV2 CIFAR10 128 100 40
=======
ShuffleNetV2 CIFAR10 128 100 1
DPN92 CIFAR10 128 100 1
SENet18 CIFAR10 128 100 1
>>>>>>> c5cdf5d90f46ce0a5e4d3d4ef31740f46740d28b
Loading