DSB2017 icon indicating copy to clipboard operation
DSB2017 copied to clipboard

'illegal instruction' if 'use_exsiting_preprocessing':True?

Open galactica147 opened this issue 7 years ago • 2 comments

Hi,

Thanks for posting the code for us to reproduce the results! One issue I ran into is when trying to use existing pre-processing results, I got illegal instructions right after pre-processing. Seemed to be coming from the following:

self.preBlock = nn.Sequential(                                                                                                                                                                               
            nn.Conv3d(1, 24, kernel_size = 3, padding = 1),                                                                                                                                                          
            nn.BatchNorm3d(24),                                                                                                                                                                                      
            nn.ReLU(inplace = True),                                                                                                                                                                                 
            nn.Conv3d(24, 24, kernel_size = 3, padding = 1),                                                                                                                                                         
            nn.BatchNorm3d(24),                                                                                                                                                                                      
            nn.ReLU(inplace = True))

This is for testing using an existing model and existing pre-processed data. Do you know what happened here? And how to fix this? Thanks!

galactica147 avatar Jun 05 '17 15:06 galactica147

No idea, please provide more info? like the error log

2017-06-05 23:44 GMT+08:00 galactica147 [email protected]:

Hi,

Thanks for posting the code for us to reproduce the results! One issue I ran into is when trying to use existing pre-processing results, I got illegal instructions right after pre-processing. Seemed to be coming from the following:

self.preBlock = nn.Sequential( nn.Conv3d(1, 24, kernel_size = 3, padding = 1), nn.BatchNorm3d(24), nn.ReLU(inplace = True), nn.Conv3d(24, 24, kernel_size = 3, padding = 1), nn.BatchNorm3d(24), nn.ReLU(inplace = True))

Do you know what happened here? And how to fix this? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lfz/DSB2017/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AIigQ1FkaBLt-R8Mw8vLKaFY2wkZOHyQks5sBCJDgaJpZM4NwOCL .

-- 廖方舟 清华大学医学院 Liao Fangzhou School of Medicine Tsinghua University Beijing 100084 China

lfz avatar Jun 05 '17 16:06 lfz

not much was printed out:

...
4d7c36fb4b7009d4a90fc5b6ba4609c7 had been done
b18322effc76a3327506ba9936535d99 had been done
end preprocessing
Illegal instruction

in config_submit.py:

          'detector_model':'net_detector',                                                                                                                                                                           
          'detector_param':'./model/detector.ckpt',                                                                                                                                                                  
          'classifier_model':'net_classifier',                                                                                                                                                                       
          'classifier_param':'./model/classifier.ckpt',                                                                                                                                                              
          'n_gpu':1,                                                                                                                                                                                                 
          'n_worker_preprocessing':None,                                                                                                                                                                             
          'use_exsiting_preprocessing':True,                                                                                                                                                                         
          'skip_preprocessing':False,                                                                                                                                                                                
          'skip_detect':False}  

Is there a quick way to check if the trained model file is intact? Instead of running the full testing.

galactica147 avatar Jun 05 '17 17:06 galactica147