Skip to content

Instantly share code, notes, and snippets.

View henrywang1's full-sized avatar
:octocat:
Working from home

Han-Yi Wang henrywang1

:octocat:
Working from home
View GitHub Profile
@henrywang1
henrywang1 / command.sh
Last active October 13, 2022 02:09
Force push subtree to heroku
# Push subtree in local branch to heroku
git push heroku `git subtree split --prefix project-name local-branch-name`:master --force
from __future__ import print_function
import argparse
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from torchvision import datasets, transforms
class Net(nn.Module):
def __init__(self, share_block):
@henrywang1
henrywang1 / steps.md
Last active January 9, 2019 08:52
Install python2, keras-gpu on Ubuntu 16.04
@henrywang1
henrywang1 / softmax.ipynb
Created August 16, 2018 05:38 — forked from awjuliani/softmax.ipynb
A simple ipython notebook that walks through the creation of a softmax regression model using MNIST dataset.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.