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 : 1450127 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 : 615>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1450127/ 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.3722407817840576 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 Wed May 21 07:07: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/1747804048_1450127_1359970212_557af40a33f856d66da857ec91a43d0b.jpg resize: (1080, 1632) 1359970212 -5.968748636671869 treat image : temp/1747804048_1450127_1359970187_faa5196444f85327b58e106f685c8dbe.jpg resize: (1080, 1632) 1359970187 -4.473364033073031 treat image : temp/1747804048_1450127_1359970177_7c488e715954afabcb683b01fc6ef218.jpg resize: (1080, 1632) 1359970177 -3.5196856687378455 treat image : temp/1747804048_1450127_1359970169_9bfdb9f016d374dc748f271df8aa298f.jpg resize: (1080, 1632) 1359970169 -5.058438143864803 treat image : temp/1747804048_1450127_1359970151_bf57fa8b9b9b1f34e82cb9dd0e4cad28.jpg resize: (1080, 1632) 1359970151 -6.106229827806126 treat image : temp/1747804048_1450127_1359970143_b5fdb3bf9e614228b9bd1ec246f4887a.jpg resize: (1080, 1632) 1359970143 -5.608627948756219 treat image : temp/1747804048_1450127_1359970105_e9f4f35fa44ba917f86c734ec77fc439.jpg resize: (1080, 1632) 1359970105 -0.6773624374770182 treat image : temp/1747804048_1450127_1359970100_9d36b7a7acef1b605b2a9c6178b68acf.jpg resize: (1080, 1632) 1359970100 -5.740321291016392 treat image : temp/1747804048_1450127_1359970095_1cd66b816892ef7d8a77a984da5daf50.jpg resize: (1080, 1632) 1359970095 -6.018834983437741 treat image : temp/1747804048_1450127_1359970093_3a42f4a60ccae2dafe6e876fb9d49994.jpg resize: (1080, 1632) 1359970093 -6.3983681627295566 treat image : temp/1747804048_1450127_1359970088_330edc7e956f6ef55ea5be28cbf2d927.jpg resize: (1080, 1632) 1359970088 -3.8540803057156423 treat image : temp/1747804048_1450127_1359970076_e9d177221a4c2c1b02f1737f5e991536.jpg resize: (1080, 1632) 1359970076 -6.076170195681673 treat image : temp/1747804048_1450127_1359969849_ceaf07c7219fd6618b941bd9017597c3.jpg resize: (1080, 1632) 1359969849 -5.642834085406548 treat image : temp/1747804048_1450127_1359969845_e9aac2d5f3699d1a46bb60246b3c0edd.jpg resize: (1080, 1632) 1359969845 -2.904892973752031 treat image : temp/1747804048_1450127_1359969841_5a651bdead1d9889902347cf47cd11ff.jpg resize: (1080, 1632) 1359969841 -0.013286528237049644 treat image : temp/1747804048_1450127_1359969838_1b73c31d5300498ce51d8958ee2484fd.jpg resize: (1080, 1632) 1359969838 -2.4633638979554773 treat image : temp/1747804048_1450127_1359969690_19d45c23fbcfe341bd05db824b8eebf0.jpg resize: (1080, 1632) 1359969690 -6.38735612407727 treat image : temp/1747804048_1450127_1359969658_18b905be6a11be9c279e200df94b297a.jpg resize: (1080, 1632) 1359969658 -4.850510381066903 treat image : temp/1747804048_1450127_1359969630_77db561f39c4ac7f84caeb95696e747b.jpg resize: (1080, 1632) 1359969630 -5.6397468945372 treat image : temp/1747804048_1450127_1359969600_1743d5888fb78d4221691812c6f4b86c.jpg resize: (1080, 1632) 1359969600 -6.075739397930607 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.013688802719116211 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.1750173568725586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.37990641593933105 save missing photos in datou_result : time spend for datou_step_exec : 17.327295541763306 time spend to save output : 0.5735230445861816 total time spend for step 1 : 17.900818586349487 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 5.39system 0:23.25elapsed 84%CPU (0avgtext+0avgdata 137688maxresident)k 152inputs+10464outputs (10major+259039minor)pagefaults 0swaps