Skip to content

Instantly share code, notes, and snippets.

@dvsseed
Created February 4, 2020 13:17
Show Gist options
  • Save dvsseed/9762c66f5842d70a859845d8fcd604a7 to your computer and use it in GitHub Desktop.
Save dvsseed/9762c66f5842d70a859845d8fcd604a7 to your computer and use it in GitHub Desktop.
To Training the AlexNet Model
@echo off
SET FILE="caffe_alexnet_train_iter_30000.solverstate"
SET DIRD="C:\Users\user\caffe-windows"
IF EXIST %FILE% (
REM Resuming
%DIRD%\Build\x64\Release\caffe.exe train --solver=solver.prototxt --snapshot=%FILE% -gpu 0
) ELSE (
REM Training
%DIRD%\Build\x64\Release\caffe.exe train --solver=solver.prototxt -gpu 0
)
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment