python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 802177 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2862>100 please execute split_portfolio.py -i 20528746 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2584364'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/802177/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.1251633167266846 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Fri Feb 14 14:37:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1739540248_802177_1337629781_48f273fa77528584a21f4c21b5d538df.jpg resize: (1080, 1632) 1337629781 -1.2231372565267282 treat image : temp/1739540248_802177_1337629778_8236b02f914a1ca9cccbd9ec91a71c30.jpg resize: (1080, 1632) 1337629778 -1.5989223209707026 treat image : temp/1739540248_802177_1337629773_24be1b11231a0b116b83db4b0229d4db.jpg resize: (1080, 1632) 1337629773 -6.490486891831953 treat image : temp/1739540248_802177_1337629770_67e8058c1b732156c0fb56dd5cbe1850.jpg resize: (1080, 1632) 1337629770 -5.2897862842950545 treat image : temp/1739540248_802177_1337629765_a16262c0e2b14279beeab04663f9caac.jpg resize: (1080, 1632) 1337629765 -6.955951456058226 treat image : temp/1739540248_802177_1337629760_bb8fdca6419ba0f7302d046e2a2fe7cc.jpg resize: (1080, 1632) 1337629760 -5.1621985207199215 treat image : temp/1739540248_802177_1337629735_e15d353624bcc7bbae032a1b48462080.jpg resize: (1080, 1632) 1337629735 -6.343828194606243 treat image : temp/1739540248_802177_1337629732_f64e7bd77790c8e5722b3713f9052c48.jpg resize: (1080, 1632) 1337629732 -5.403427506060094 treat image : temp/1739540248_802177_1337629729_3ac9bb333653176f9c0b0a99e356881e.jpg resize: (1080, 1632) 1337629729 -6.037610054253428 treat image : temp/1739540248_802177_1337629728_d63b006529b6e3ed3298b11de4adaf5e.jpg resize: (1080, 1632) 1337629728 -2.4334094962876005 treat image : temp/1739540248_802177_1337629699_84152366cfd33a213045e6f36339bbdb.jpg resize: (1080, 1632) 1337629699 -2.3507561008354174 treat image : temp/1739540248_802177_1337629696_2af11cc856fb662d5b2aa64ebb9f49de.jpg resize: (1080, 1632) 1337629696 -1.9113422242307458 treat image : temp/1739540248_802177_1337629690_d51c39a03a894fc0712d3ba7ca431ea3.jpg resize: (1080, 1632) 1337629690 -4.761456263207191 treat image : temp/1739540248_802177_1337629682_30bc175f6ab8862f852145fea0e408f2.jpg resize: (1080, 1632) 1337629682 -6.747181150420274 treat image : temp/1739540248_802177_1337629680_37d0ab59a84deaec686b1f1a582b68e4.jpg resize: (1080, 1632) 1337629680 -6.2793641752562515 treat image : temp/1739540248_802177_1337629621_6dc01289811056901501b67c73931b7b.jpg resize: (1080, 1632) 1337629621 -6.0473534809541905 treat image : temp/1739540248_802177_1337629215_8d83b2ac43039557bbee55cb80f56308.jpg resize: (1080, 1632) 1337629215 -6.311931345869087 treat image : temp/1739540248_802177_1337629213_35fdb4e0ff53bf3c246d1e70b9ae3f3f.jpg resize: (1080, 1632) 1337629213 -6.529973940279129 treat image : temp/1739540248_802177_1337629210_ff17e32806d910d6667a5634b741e819.jpg resize: (1080, 1632) 1337629210 -6.318902902157603 treat image : temp/1739540248_802177_1337629207_3e537f72631c36ece28bc4ac975f679e.jpg resize: (1080, 1632) 1337629207 -6.685357506852147 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.013138055801391602 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.01379251480102539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015151739120483398 save missing photos in datou_result : time spend for datou_step_exec : 14.100240230560303 time spend to save output : 0.047368526458740234 total time spend for step 1 : 14.147608757019043 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.60user 2.02system 0:19.33elapsed 85%CPU (0avgtext+0avgdata 139836maxresident)k 72inputs+11456outputs (5major+158949minor)pagefaults 0swaps