Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

arpanmukherjee/Pytorch-image-classifier-with-Tensorboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quick Links

About

This repo contains tutorials covering how to do image classification usingPyTorch,TorchVision andTensorBoard using Python 3.7.

If you find any mistakes or disagree with any of the explanations, please do not hesitate tosubmit an issue. I welcome any feedback, positive or negative!

Setup

Installation

  1. Download the GitHub repo by using the following command running from the terminal.
git clone https://github.com/arpanmukherjee/Pytorch-image-classifier-with-Tensorboardcd Autoencoders-and-more-using-PyTorch/
  1. Installpip from the terminal, for more details please lookhere. Go to the following project folder and install all the dependencies by running the following command. By running this command, it will install all the dependencies you will require to run the project.
pip install -r requirements.txt

Training

The network can be trained usingmain.py script. Currently, it only accepts the following arguments with the allowed values. Please strictly follow the argument name and any of the values.

argumentaccepted valuesdefault value
epochsinteger75
batch-sizeinteger16
learning-ratefloat0.001
seedint1
data-pathdata directory../dataset/
datasetMNIST or STL10 or CIFAR10-
use_cudaboolFalse
weight-decayfloat1e-5
log-intervalint50
save-modelboolTrue

Arguments that have no default value, you must provide value to run the script.

python main.py --dataset STL10 --use-cuda True

If you think the model is taking too much time, you can consider using GPU. Setuse_cuda argument asTrue.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp