#2016 编译 Project 说明
任课老师:邱锡鹏
Project TA:陈丹露
提交地址为 ftp://by:[email protected] 。
sudo apt-get -y install zsh git | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
sudo chsh ubuntu -s /bin/zsh | |
sudo apt-get update | |
sudo apt-get -y install build-essential linux-image-extra-virtual axel | |
sudo vim /etc/modprobe.d/blacklist-nouveau.conf |
#2016 编译 Project 说明
任课老师:邱锡鹏
Project TA:陈丹露
提交地址为 ftp://by:[email protected] 。
-- | |
-- Created by IntelliJ IDEA. | |
-- User: taineleau | |
-- Date: 10/7/16 | |
-- Time: 10:16 | |
-- To change this template use File | Settings | File Templates. | |
-- | |
local grad = require 'autograd' | |
grad.optimize(true) |
import math | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
class BasicBlock(nn.Module): | |
def __init__(self, in_planes, out_planes, dropRate=0.0): | |
super(BasicBlock, self).__init__() | |
self.bn1 = nn.BatchNorm2d(in_planes) |
import math | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
class BasicBlock(nn.Module): | |
def __init__(self, in_planes, out_planes, dropRate=0.0): | |
super(BasicBlock, self).__init__() | |
self.bn1 = nn.BatchNorm2d(in_planes) |
import math | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
class BasicBlock(nn.Module): | |
def __init__(self, in_planes, out_planes, dropRate=0.0): | |
super(BasicBlock, self).__init__() | |
self.bn1 = nn.BatchNorm2d(in_planes) |