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 : 113317 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 : 4276>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/113317/ 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.704526901245117 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 Thu Jul 17 12:47: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/1752749247_113317_1372399500_a65f6433fca6f0bde74159e2edc475cf.jpg resize: (1080, 1632) 1372399500 -5.234871448255019 treat image : temp/1752749247_113317_1372399496_f062088da9ff57280d0c0dfa4037fc17.jpg resize: (1080, 1632) 1372399496 -5.234011916091453 treat image : temp/1752749247_113317_1372399491_99b7c151f123e7925d0e47fc79332a4a.jpg resize: (1080, 1632) 1372399491 -5.227253558377218 treat image : temp/1752749247_113317_1372399478_5769aa015979d4a9756dde562b8d92bd.jpg resize: (1080, 1632) 1372399478 -5.2297981175269905 treat image : temp/1752749247_113317_1372399475_c72b316a75dafec22a6ef6e17f5fb650.jpg resize: (1080, 1632) 1372399475 -5.220160243346484 treat image : temp/1752749247_113317_1372399467_7c91476a988383ec0ae954f1c5dd24a9.jpg resize: (1080, 1632) 1372399467 -5.219180194601615 treat image : temp/1752749247_113317_1372399449_341c094ed41814670c3a439c76df1eb0.jpg resize: (1080, 1632) 1372399449 -5.230517308778307 treat image : temp/1752749247_113317_1372399446_c1e1f17811d17f73df67eb462773957a.jpg resize: (1080, 1632) 1372399446 -5.228930543737202 treat image : temp/1752749247_113317_1372399444_f673d3be66123c0dac74616c8d2f1d6c.jpg resize: (1080, 1632) 1372399444 -5.232545296823018 treat image : temp/1752749247_113317_1372399441_0db959f23a93a7ecff5a9ce03a084e74.jpg resize: (1080, 1632) 1372399441 -5.237570809681726 treat image : temp/1752749247_113317_1372399438_7006af449b6cabec59d994a5bd4c1e06.jpg resize: (1080, 1632) 1372399438 -5.232184148658176 treat image : temp/1752749247_113317_1372399436_175752e84a2beb87717cdcae4c48a3d7.jpg resize: (1080, 1632) 1372399436 -5.2318323792332855 treat image : temp/1752749247_113317_1372344758_9f97aa571ffb493a97ddbf37ca0c5d43.jpg resize: (1080, 1632) 1372344758 -4.657946544322874 treat image : temp/1752749247_113317_1372344756_bf15878713203ff9320c72f0d28f3f5b.jpg resize: (1080, 1632) 1372344756 -4.651237808838837 treat image : temp/1752749247_113317_1372344730_8d0397097b8533823a59e00258cc15f1.jpg resize: (1080, 1632) 1372344730 -4.025696008426446 treat image : temp/1752749247_113317_1372344727_5c4f31d36c83e28b8ec990af603563c4.jpg resize: (1080, 1632) 1372344727 -4.016491494689947 treat image : temp/1752749247_113317_1372344725_c16714263c15837b4c630197f8d5228e.jpg resize: (1080, 1632) 1372344725 -4.013068206276785 treat image : temp/1752749247_113317_1372344723_f9f974d723006b216e9b15d6f8453ad2.jpg resize: (1080, 1632) 1372344723 -4.0202491400911615 treat image : temp/1752749247_113317_1372344721_e1d9ebe73f3dd7849f9a96bbcc0bdb1c.jpg resize: (1080, 1632) 1372344721 -4.009394523548691 treat image : temp/1752749247_113317_1372344720_b7d3bd828a36bf0a3c40a6f9d41099c2.jpg resize: (1080, 1632) 1372344720 -3.994422984560468 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.04555869102478027 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.043970346450805664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04891657829284668 save missing photos in datou_result : time spend for datou_step_exec : 14.740605354309082 time spend to save output : 0.1582636833190918 total time spend for step 1 : 14.898869037628174 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 2.64system 0:20.39elapsed 84%CPU (0avgtext+0avgdata 138472maxresident)k 0inputs+9176outputs (5major+259527minor)pagefaults 0swaps