All Projects → lizeng614 → Squeezenet Neural Style Pytorch

lizeng614 / Squeezenet Neural Style Pytorch

Lightweight implementation of neural style in Pytorch with SqueezeNet

Projects that are alternatives of or similar to Squeezenet Neural Style Pytorch

Pytorch Book
PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
Stars: ✭ 9,546 (+12800%)
Mutual labels:  jupyter-notebook, neural-style
Neural Style Audio Tf
TensorFlow implementation for audio neural style.
Stars: ✭ 413 (+458.11%)
Mutual labels:  jupyter-notebook, neural-style
Mobilepose Pytorch
Light-weight Single Person Pose Estimator
Stars: ✭ 427 (+477.03%)
Mutual labels:  jupyter-notebook, lightweight
Islr With Python
Introduction to Statistical Learning with R을 Python으로
Stars: ✭ 73 (-1.35%)
Mutual labels:  jupyter-notebook
Tensorflow Camp
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
C programming for machine learning
This is the code for "C Programming for Machine Learning" By Siraj Raval on Youtube
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Google earth engine notebook
A walkthrough of some Google Earth Engine Features, as well as using the data in TensorFlow
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Jakevdp.github.io Source
Source for my Pythonic Perambulations blog
Stars: ✭ 73 (-1.35%)
Mutual labels:  jupyter-notebook
Pu learning
Experiments in positive-unlabeled learning
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Python Note
《Python 学习手册》(第四版 + 第五版)笔记
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Rental Prediction
2018年全国大学生计算机应用能力大赛之住房月租金预测第一名代码
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Gan Vis
Visualization of GAN training process
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Course Computational Literary Analysis
Course materials for Introduction to Computational Literary Analysis, taught at UC Berkeley in Summer 2018, 2019, and 2020, and at Columbia University in Fall 2020.
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Nlp Tutorial
A list of NLP(Natural Language Processing) tutorials
Stars: ✭ 1,188 (+1505.41%)
Mutual labels:  jupyter-notebook
Keras Multi Gpu
Multi-GPU data-parallel training in Keras
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Rl Course Experiments
Stars: ✭ 73 (-1.35%)
Mutual labels:  jupyter-notebook
Tensorflow Brasil
Códigos e materiais sobre TensorFlow em Português
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Deep learning for biologists with keras
tutorials made for biologists to learn deep learning
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Qastrategy101
strategy 101 从今天开始 逐步开放101个基础策略的QA实现 包含5个大类
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook
Autoloc
AutoLoc: Weakly-supervised Temporal Action Localization in Untrimmed Videos. ECCV'18.
Stars: ✭ 74 (+0%)
Mutual labels:  jupyter-notebook

Lightweight Neural Style on Pytorch

This is a lightweight Pytorch implementation of A Neural Algorithm of Artistic Style using pretrained SqueezeNet.

SqueezeNet has AlexNet-level accuracy with 50x fewer parameters. which reduces the computational time for Neural Style and yet has comparable results. It is also included in Torchvison so no explicit download is needed. Simply run the implementation will automatically download a 5MB SqueezeNet from Pytorch website.

Notice that this implementation aims at small size and fast training time on less capable machine like my own Laptop, it should not beat the result of using pretrained VGG as used in the original paper. No GPU is needed for this implementation. At test time it takes less than 1.20s for each training step for a 616x372 image on a intel core i5 Laptop.

Examples:

Usage

Basic usage:

python neural_style.py --style <image.jpg> --content <image.jpg>

use --standard-train Trueto perform a suggested training process, which is 500 steps Adam of learning rate 0.1 fellowed by another 500 steps Adam of learning rate 0.01

You can run the Ipython Notebook Version. This is convenient if you want play with some parameters, you can even try different layer of SqueezeNet.This implementation only used 7 layers from it's 12 defined

Advanced Neural Style

for more advanced implementation on good GPU machine please check Fast-Neural-style: Perceptual Losses for Real-Time Style Transfer and Super-Resolution, codes are here: torch or tensorflow.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].