pytorch
tangchongyang
这个作者很懒,什么都没留下…
展开
-
基于pytorch的三种模型定点化方法(dynamic qu,Post-training static quantization,Quantization-aware training (QAT) )
%matplotlib inline(experimental) Static Quantization with Eager Mode in PyTorchAuthor: Raghuraman Krishnamoorthi <https://github.com/raghuramank100>_Edited by: Seth Weidman <https://github.com/SethHWeidman/>_This tutorial shows how to do p原创 2020-05-30 18:00:11 · 4325 阅读 · 0 评论 -
给予pytorch的对BERT在MSPR数据集上的定点化
from __future__ import absolute_import, division, print_functionimport loggingimport numpy as npimport osimport randomimport sysimport timeimport torchfrom argparse import Namespacefrom torch.utils.data import (DataLoader, RandomSampler, Sequent原创 2020-05-30 17:08:00 · 501 阅读 · 0 评论 -
基于pytorch的模型定点化
%matplotlib inline(experimental) Dynamic Quantization on an LSTM Word Language ModelAuthor: James Reed <https://github.com/jamesr66a>_Edited by: Seth Weidman <https://github.com/SethHWeidman/>_IntroductionQuantization involves converting原创 2020-05-30 11:36:11 · 1075 阅读 · 0 评论 -
基于pytorch的模型裁剪(LeNet模型演示)
%matplotlib inlinePruning TutorialAuthor: Michela Paganini <https://github.com/mickypaganini>_State-of-the-art deep learning techniques rely on over-parametrized modelsthat are hard to deploy. On the contrary, biological neural networks areknow原创 2020-05-30 00:52:28 · 1206 阅读 · 1 评论 -
基于pytorch的DQN(图像输入的CartPole)
%matplotlib inlineReinforcement Learning (DQN) TutorialAuthor: Adam Paszke <https://github.com/apaszke>_This tutorial shows how to use PyTorch to train a Deep Q Learning (DQN) agenton the CartPole-v0 task from the OpenAI Gym <https://gym.open原创 2020-05-29 23:51:24 · 2605 阅读 · 2 评论 -
基于pytorch的DCGAN人脸数据生成
%matplotlib inlineDCGAN TutorialAuthor: Nathan Inkawhich <https://github.com/inkawhich>__IntroductionThis tutorial will give an introduction to DCGANs through an example. Wewill train a generative adversarial network (GAN) to generate newceleb原创 2020-05-29 22:22:29 · 2174 阅读 · 0 评论 -
基于pytorch的Fast Gradient Sign Attack (FGSM)在mnist数据集上的伪造(原理近似gan,但是是求loss在图像上的梯度来改变图像))
%matplotlib inlineAdversarial Example GenerationAuthor: Nathan Inkawhich <https://github.com/inkawhich>__If you are reading this, hopefully you can appreciate how effective somemachine learning models are. Research is constantly pushing ML model原创 2020-05-29 16:33:18 · 5224 阅读 · 3 评论 -
基于pytorch的transfer_learning(ants&bee数据集,resnet18)
%matplotlib inlineTransfer Learning for Computer Vision TutorialAuthor: Sasank Chilamkurthy <https://chsasank.github.io>_In this tutorial, you will learn how to train a convolutional neural network forimage classification using transfer learning原创 2020-05-29 12:54:26 · 818 阅读 · 0 评论 -
基于pytorch的目标检测(rcnn+resnet50,行人数据集)
import torchtorch.cuda.is_available()True!pip install cython# Install pycocotools, the version by default in Colab# has a bug fixed in https://github.com/cocodataset/cocoapi/pull/354!pip install -U 'git+https://github.com/cocodataset/cocoapi.git#su原创 2020-05-29 12:20:52 · 5051 阅读 · 5 评论