forked from CRBS/cdeep3m
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateTrainJob.m
More file actions
executable file
·27 lines (23 loc) · 974 Bytes
/
CreateTrainJob.m
File metadata and controls
executable file
·27 lines (23 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/octave -qf
% CreateTrainJob
% Generates Training job that uses caffe on3 models, 1fm, 3fm, and 5fm
% -> Outputs trained caffe model to output directory
%
% Syntax : CreateTrainJob.m <Input train data directory> <Output directory>
%
%
%-------------------------------------------------------------------------------
%% Train for Deep3M -- NCMIR/NBCR, UCSD -- Author: C Churas -- Date: 12/2017
%-------------------------------------------------------------------------------
%
% ------------------------------------------------------------------------------
%% Initialize
% ------------------------------------------------------------------------------
script_dir = fileparts(make_absolute_filename(program_invocation_name()));
addpath(genpath(script_dir));
addpath(genpath(strcat(script_dir,filesep(),'scripts',filesep())));
addpath(genpath(strcat(script_dir,filesep(),'scripts',filesep(),'functions')));
tic
pkg load hdf5oct
pkg load image
run_train(argv());