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 : 224679 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 : 170>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/224679/ 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.4257161617279053 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 Mon May 19 05:42: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/1747626147_224679_1359277276_8512a8c1fbda2240605a8188f6a1142d.jpg resize: (1080, 1632) 1359277276 -1.4932236646305608 treat image : temp/1747626147_224679_1359277273_4cbecd72662da0472c4a67c8f1756f8c.jpg resize: (1080, 1632) 1359277273 -3.741465856125841 treat image : temp/1747626147_224679_1359277270_f38af561e9b659868242988546350150.jpg resize: (1080, 1632) 1359277270 -1.548460093305723 treat image : temp/1747626147_224679_1359277268_ca9bf0bdf3b4e65747e10ce3532d0b31.jpg resize: (1080, 1632) 1359277268 -5.074401009168111 treat image : temp/1747626147_224679_1359277254_7a2253d026809575a2fdb32401ab906c.jpg resize: (1080, 1632) 1359277254 -4.350908917791959 treat image : temp/1747626147_224679_1359277252_ea24aee3f4bd9ab1f1ea50a21a4e12ae.jpg resize: (1080, 1632) 1359277252 -2.429270720241713 treat image : temp/1747626147_224679_1359277249_75756f87d4ace39f8011f48380a434d4.jpg resize: (1080, 1632) 1359277249 -5.119200747987702 treat image : temp/1747626147_224679_1359277246_27e0342642cafe5aedf2d0a7708faec6.jpg resize: (1080, 1632) 1359277246 -5.807548917689326 treat image : temp/1747626147_224679_1359277228_3a218ba5d7120b131fa1bde3f5cd5a82.jpg resize: (1080, 1632) 1359277228 -5.669233495525236 treat image : temp/1747626147_224679_1359277225_2803f5c636fea642696d9f71bac1fdfa.jpg resize: (1080, 1632) 1359277225 -5.630245621261618 treat image : temp/1747626147_224679_1359277222_916e5fed1b0a26cf57182356e275e432.jpg resize: (1080, 1632) 1359277222 -5.186847480587312 treat image : temp/1747626147_224679_1359277219_b8c3e797b854eb74a439d13736d99d1f.jpg resize: (1080, 1632) 1359277219 -5.323494176624615 treat image : temp/1747626147_224679_1359277208_7b04d57670d19be66c04b68c891b65a5.jpg resize: (1080, 1632) 1359277208 -1.3757991184411733 treat image : temp/1747626147_224679_1359277206_ff99bf1c5c00f14751c5b3afad12d340.jpg resize: (1080, 1632) 1359277206 -1.5772793038439368 treat image : temp/1747626147_224679_1359277201_e7d66836961141adb9bd94f0e8d1ffa7.jpg resize: (1080, 1632) 1359277201 -4.656698508907184 treat image : temp/1747626147_224679_1359277198_c4f5d446452563216dd3f98b0ecf5b10.jpg resize: (1080, 1632) 1359277198 -2.8215496753982094 treat image : temp/1747626147_224679_1359277194_eb675fe486938f4ec8c53b08eadab495.jpg resize: (1080, 1632) 1359277194 -5.719734756381652 treat image : temp/1747626147_224679_1359277175_12ac7f26836c53c0c803b33894a6c120.jpg resize: (1080, 1632) 1359277175 -6.284821864732545 treat image : temp/1747626147_224679_1359277172_59620d5af01623d769920317c7f62d09.jpg resize: (1080, 1632) 1359277172 -6.325727985884688 treat image : temp/1747626147_224679_1359277169_53118ae5d69c2b19f7b93e2fd4d4eed5.jpg resize: (1080, 1632) 1359277169 -2.6922541087201015 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.013652563095092773 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.350783109664917 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017058134078979492 save missing photos in datou_result : time spend for datou_step_exec : 15.60170841217041 time spend to save output : 0.3866443634033203 total time spend for step 1 : 15.98835277557373 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 3.67system 0:21.49elapsed 84%CPU (0avgtext+0avgdata 137328maxresident)k 56inputs+9168outputs (0major+257469minor)pagefaults 0swaps