All Projects → dansuh17 → alexnet-pytorch

dansuh17 / alexnet-pytorch

Licence: other
Pytorch Implementation of AlexNet

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to alexnet-pytorch

Awesome Deeplearning Resources
Deep Learning and deep reinforcement learning research papers and some codes
Stars: ✭ 2,483 (+2754.02%)
Mutual labels:  paper
Machine Learning Resources
A curated list of awesome machine learning frameworks, libraries, courses, books and many more.
Stars: ✭ 226 (+159.77%)
Mutual labels:  paper
Awesome Domain Adaptation
A collection of AWESOME things about domian adaptation
Stars: ✭ 3,357 (+3758.62%)
Mutual labels:  paper
Research Paper Notes
Notes and Summaries on ML-related Research Papers (with optional implementations)
Stars: ✭ 218 (+150.57%)
Mutual labels:  paper
Awesome Gans And Deepfakes
A curated list of GAN & Deepfake papers and repositories.
Stars: ✭ 224 (+157.47%)
Mutual labels:  paper
Robosumo
Code for the paper "Continuous Adaptation via Meta-Learning in Nonstationary and Competitive Environments"
Stars: ✭ 234 (+168.97%)
Mutual labels:  paper
Epg
Code for the paper "Evolved Policy Gradients"
Stars: ✭ 204 (+134.48%)
Mutual labels:  paper
Pwc
Papers with code. Sorted by stars. Updated weekly.
Stars: ✭ 15,288 (+17472.41%)
Mutual labels:  paper
Vehicle reid Collection
🚗 the collection of vehicle re-ID papers, datasets. 🚗
Stars: ✭ 225 (+158.62%)
Mutual labels:  paper
Awesome Grounding
awesome grounding: A curated list of research papers in visual grounding
Stars: ✭ 247 (+183.91%)
Mutual labels:  paper
Nfnets Pytorch
NFNets and Adaptive Gradient Clipping for SGD implemented in PyTorch
Stars: ✭ 215 (+147.13%)
Mutual labels:  paper
Triplet Attention
Official PyTorch Implementation for "Rotate to Attend: Convolutional Triplet Attention Module." [WACV 2021]
Stars: ✭ 222 (+155.17%)
Mutual labels:  paper
Enet Real Time Semantic Segmentation
ENet - A Neural Net Architecture for real time Semantic Segmentation
Stars: ✭ 238 (+173.56%)
Mutual labels:  paper
Survey Computer Vision
2020-2021年计算机视觉综述论文分方向整理
Stars: ✭ 207 (+137.93%)
Mutual labels:  paper
Browser Sec Whitepaper
Cure53 Browser Security White Paper
Stars: ✭ 251 (+188.51%)
Mutual labels:  paper
Research In Production
A collection of research papers categorized by real-world systems that enact them
Stars: ✭ 205 (+135.63%)
Mutual labels:  paper
Gpt 2
Code for the paper "Language Models are Unsupervised Multitask Learners"
Stars: ✭ 15,142 (+17304.6%)
Mutual labels:  paper
RCAPapers
Papers about Root Cause Analysis in MicroService Systems. Reference to Paper Notes: https://dreamhomes.top/
Stars: ✭ 89 (+2.3%)
Mutual labels:  paper
Automatic speech recognition
End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow
Stars: ✭ 2,751 (+3062.07%)
Mutual labels:  paper
Linformer Pytorch
My take on a practical implementation of Linformer for Pytorch.
Stars: ✭ 239 (+174.71%)
Mutual labels:  paper

Pytorch implementation of AlexNet

  • Now compatible with pytorch==0.4.0

This is an implementaiton of AlexNet, as introduced in the paper "ImageNet Classification with Deep Convolutional Neural Networks" by Alex Krizhevsky et al. (original paper)

This was the first very successful CNN for image classification that led to breakout of deep learning 'hype', as well as the first successful example of utilizing dropout layers.

Prerequisites

  • python >= 3.5
  • pytorch==0.4.0

You can install required packages by:

pip3 install -r requirements.txt

DataSet

This implemenation uses the ILSVRC 2012 dataset, also known as the 'ImageNet 2012 dataset'. The data size is dreadfully large (138G!), but this amount of large-sized dataset is required for successful training of AlexNet. Testing with Tiny ImageNet or MNIST could not be done due to their smaller feature sizes (images do not fit the input size 227 x 227).

After downloading the dataset file (i.e., ILSVRC2012_img_train.tar), use extract_imagenet.sh to extract the entire dataset.

extract_imagenet.sh

ImageNet 2012's dataset structure is already arranged as /root/[class]/[img_id].jpeg, so using torchvision.datasets.ImageFolder is convenient.

Training

python3 model.py

Specify the data path by modifying the constant TRAIN_IMG_DIR at the beginning of the script. Also tune model parameters by modifying constants at the beginning of the script.

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].