Skip to content

Commit

Permalink
Cleaned up repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Keifer committed Apr 14, 2023
1 parent 9d0a1c0 commit c3edb57
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 2 additions & 8 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,8 @@
train_loss, train_acc, n = 0, 0, 0

#Go through training steps
for i, (X, y) in enumerate(trainloader):

print(type(X),print(type(y)))
print(X)
print(y)
print(X.shape,y.shape)


for i, (X, y) in enumerate(trainloader):

#Set train mode and port sample to cuda
model.train()
X, y = X.cuda(), y.cuda()
Expand Down

0 comments on commit c3edb57

Please sign in to comment.