Trying to initialize the structure of resnet-101-simple
Unknown model: cannot initialize.
Loading pretrained weights from ./trained_models/imagenet-resnet-101-dag.mat
Loaded imdb from data/widerface/imdb.mat
cluster path: data/widerface/RefBox_N25_scaled.mat
Start using dagnn.DetLoss for loss
Starting parallel pool (parpool) using the 'local' profile ... Warning: The system time zone setting, 'US/Eastern', does not specify a single
time zone unambiguously. It will be treated as 'America/New_York'. See the <a
href="matlab:doc('datetime.TimeZone')">datetime.TimeZone property for
details about specifying time zones.
In verifyTimeZone (line 23)
In datetime (line 503)
In parallel.internal.cluster.FileSerializer>iLoadDate (line 345)
In parallel.internal.cluster.FileSerializer/getFields (line 100)
In parallel.internal.cluster.CJSSupport/getProperties (line 252)
In parallel.internal.cluster.CJSSupport/getJobProperties (line 463)
In parallel.internal.cluster.CJSJobMixin/hGetProperty (line 70)
In parallel.internal.cluster.CJSJobMixin/hSetTerminalStateFromCluster (line 98)
In parallel.cluster.CJSCluster/hGetJobState (line 361)
In parallel.internal.cluster.CJSJobMixin/getStateEnum (line 136)
In parallel.Job/get.StateEnum (line 214)
In parallel.Job/get.State (line 206)
In parallel.internal.customattr.CustomGetSet>iVectorisedGetHelper (line 107)
In parallel.internal.customattr.CustomGetSet>@(a,b,c)iVectorisedGetHelper(obj,a,b,c) (line 89)
In parallel.internal.customattr.CustomGetSet/doVectorisedGet (line 90)
In parallel.internal.customattr.CustomGetSet/hVectorisedGet (line 64)
In parallel.internal.customattr.GetSetImpl>iAccessProperties (line 289)
In parallel.internal.customattr.GetSetImpl>iGetAllProperties (line 250)
In parallel.internal.customattr.GetSetImpl.getImpl (line 124)
In parallel.internal.customattr.CustomGetSet/get (line 30)
In parallel.internal.pool.InteractiveClient/pRemoveOldJobs (line 464)
In parallel.internal.pool.InteractiveClient/start (line 311)
In parallel.Pool>iStartClient (line 567)
In parallel.Pool.hBuildPool (line 446)
In parallel.internal.pool.doParpool (line 15)
In parpool (line 89)
In cnn_train_dag_hardmine>prepareGPUs (line 604)
In cnn_train_dag_hardmine (line 132)
In cnn_widerface (line 212)
In hr_res101 (line 41)
connected to 4 workers.
cnn_train_dag_hardmine: resetting GPU
Error using cnn_train_dag_hardmine>prepareGPUs (line 616)
Error detected on worker 3.
Error in cnn_train_dag_hardmine (line 132)
prepareGPUs(opts, epoch == start+1) ;
When I run hr_res101('train"), I am getting the error mentioned above. Can you tell how to fix it. Below is the detailed output and error message:
ans =
models/widerface-resnet-101-simple-sample256-posfrac0.5-N25-bboxreg-cluster-scaled
Trying to initialize the structure of resnet-101-simple Unknown model: cannot initialize. Loading pretrained weights from ./trained_models/imagenet-resnet-101-dag.mat Loaded imdb from data/widerface/imdb.mat cluster path: data/widerface/RefBox_N25_scaled.mat
opts =
struct with fields:
ans =
struct with fields:
Start using dagnn.DetLoss for loss Starting parallel pool (parpool) using the 'local' profile ... Warning: The system time zone setting, 'US/Eastern', does not specify a single time zone unambiguously. It will be treated as 'America/New_York'. See the <a href="matlab:doc('datetime.TimeZone')">datetime.TimeZone property for details about specifying time zones.
Error in cnn_train_dag_hardmine (line 132) prepareGPUs(opts, epoch == start+1) ;
Error in cnn_widerface (line 212) [net, info] = trainFn(net, imdb, getBatchFn(batchGetter, opts, net.meta), ...
Error in hr_res101 (line 41) cnn_widerface('inputSize', inputSize, ...
Caused by: Error using gpuDevice (line 26) Invalid CUDA device id: 3. Select a device id from the range 1:1.
When I run gpuDevice from matlab prompt this is what I get:
ans =
CUDADevice with properties: