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 : 585580 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 : 1367>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/585580/ 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.424042224884033 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 Tue Aug 12 10:32: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/1754987547_585580_1376575684_63cce83f4d4a8c0ccf2870668d48073a.jpg resize: (1080, 1632) 1376575684 -3.0582564180623937 treat image : temp/1754987547_585580_1376575673_9c76c627f59d6675467aee11d82bcfda.jpg resize: (1080, 1632) 1376575673 -5.622013288893273 treat image : temp/1754987547_585580_1376575660_4b4526a466bc88e1de273a6e765c16ea.jpg resize: (1080, 1632) 1376575660 -4.396287959232183 treat image : temp/1754987547_585580_1376575658_ecc87508c4289035de787b1f90278d49.jpg resize: (1080, 1632) 1376575658 -4.553069178634612 treat image : temp/1754987547_585580_1376575652_2bb4cda84d706955d12053146cf75860.jpg resize: (1080, 1632) 1376575652 -4.496322550305313 treat image : temp/1754987547_585580_1376575296_d677e9c0955b2dc4a062e4c05e13a70a.jpg resize: (1080, 1632) 1376575296 -2.4307811511348203 treat image : temp/1754987547_585580_1376575271_17a4bb1fed9a0d25b9479ced90503f8d.jpg resize: (1080, 1632) 1376575271 -2.2243453121530465 treat image : temp/1754987547_585580_1376575242_a7d9b268c72102a045c09d966edd9983.jpg resize: (1080, 1632) 1376575242 -2.0831806269893596 treat image : temp/1754987547_585580_1376570509_3442764534e0e61673a14cb1be40510e.jpg resize: (1080, 1632) 1376570509 -5.131672558554806 treat image : temp/1754987547_585580_1376570508_0050997f81c01b4e138813dd3b054982.jpg resize: (1080, 1632) 1376570508 -1.3459764496032494 treat image : temp/1754987547_585580_1376570505_003412aafbe1f46f4b2d9115bb2caaa8.jpg resize: (1080, 1632) 1376570505 -3.3627363379995248 treat image : temp/1754987547_585580_1376570483_4e7444f952946ddda23ccad493a99595.jpg resize: (1080, 1632) 1376570483 -4.4971318452061855 treat image : temp/1754987547_585580_1376570480_6b6e8bd136897e41ac68c5a8d0190aff.jpg resize: (1080, 1632) 1376570480 -3.8176911195450773 treat image : temp/1754987547_585580_1376570477_a1ad79dad57e359726c314ade279db1d.jpg resize: (1080, 1632) 1376570477 -5.078469155275231 treat image : temp/1754987547_585580_1376570474_8ef8a9342222f83bcc62b5f3100b9427.jpg resize: (1080, 1632) 1376570474 -3.511143073112577 treat image : temp/1754987547_585580_1376570472_1b6eb035c3c67ebaef8d53d3a4acf19f.jpg resize: (1080, 1632) 1376570472 -4.880823412322236 treat image : temp/1754987547_585580_1376570469_45a1293ede5ec2012aae019e37c08dd0.jpg resize: (1080, 1632) 1376570469 -4.05929798860527 treat image : temp/1754987547_585580_1376570454_c2b0f2fd35692ee6732c8205f675ee67.jpg resize: (1080, 1632) 1376570454 -5.8112177134057585 treat image : temp/1754987547_585580_1376570452_b13a9d562d15278768012692be9bd862.jpg resize: (1080, 1632) 1376570452 -5.895423321700371 treat image : temp/1754987547_585580_1376570449_cde6c47a4c2a4f6f14991e3f60974f4a.jpg resize: (1080, 1632) 1376570449 -1.1206164869746076 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.013466835021972656 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.019373416900634766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013977527618408203 save missing photos in datou_result : time spend for datou_step_exec : 19.25811266899109 time spend to save output : 0.05227065086364746 total time spend for step 1 : 19.310383319854736 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 7.22system 0:24.55elapsed 89%CPU (0avgtext+0avgdata 139236maxresident)k 760inputs+8856outputs (35major+260412minor)pagefaults 0swaps