hsosik / ifcb-analysis

custom resolver
Other
30 stars 18 forks source link

Error in start_feature_batch_user_training(in_dir_base , in_dir_blob_base, out_dir, parallel_proc_flag) #36

Open hafez-ahmad opened 8 months ago

hafez-ahmad commented 8 months ago
start_feature_batch_user_training(in_dir_base , in_dir_blob_base, out_dir, parallel_proc_flag)
processing 6 files
2024-02-14T03:10:36Z bin_features LOAD targets D20141117T000015_IFCB102.roi
2024-02-14T03:10:37Z bin_features LOAD blobs D20141117T000015_IFCB102.roi
2024-02-14T03:10:43Z bin_features PROCESSING 1516 target(s) from D20141117T000015_IFCB102.roi
Error using invmoments (line 22)
F must be a 2-D, real, nonsparse, numeric or logical matrix.

Error in blob_invmoments (line 6)
invarmom = invmoments(target.blob_image); 

Error in bin_features (line 63)
    target = blob_invmoments(target);

Error in batch_features (line 62)
                bin_features(in_dir{filecount}, [char(filelist(filecount)) '.roi'], out_dir, [], in_dir_blob{filecount});

Error in start_feature_batch_user_training (line 54)
    batch_features( in_dir, bins, out_dir, in_dir_blob , parallel_proc_flag);

I am getting an error in Matlab 2021a. It comes from DIPUM. I really appreciate your help. I am using your provided test_data. First step was done successfully, this is the second step, causing error.