-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtextureSelectivity
41 lines (31 loc) · 1.13 KB
/
textureSelectivity
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
clear all
%-------z-----------
% Determine where your m-file's folder is.
folder = fileparts(which(mfilename));
% Add that folder plus all subfolders to the path.
addpath(genpath(folder));
% p='D:\Matlab space\matconvnet-1.0-beta25';
% addpath(genpath((p)));
% % add matconvnet directory
% folder = 'D:\Matlab space\matconvnet-1.0-beta25';
% b=addpath(genpath(folder));
%--------------------------
%--z-----------setup-----------------
%--- mex -setup mex -setup C++
%--- mex -setup:C:\Users\zahra\AppData\Roaming\MathWorks\MATLAB\R2016a\mex_C_win64.xml C
%--- cd <MatConvNet>
%--- addpath matlab
%--- addpath C:\Program Files (x86)\Microsoft Visual Studio14.0\VC\bin\amd64_arm
%--- vl_compilenn
%-- vl_setupnn
%---------------------------------------
%z-------parameters
clear variables;
params=struct();
params.pc='BCN';
params.name_arch='M';
params.pathNet='/media/zahra/DATA 4TB/Matlab space/Data/imagenet/';
imagePath = '/media/zahra/DATA 4TB/zDownloads_driveE/texture stimulus/WPSet/';
imageMatPath = '/media/zahra/DATA 4TB/zDownloads_driveE/texture stimulus/';
%z------Read images------------
GetImageNames(imagePath,imageMatPath);