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 : 1397796 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 updating current state to 1 we have a portfolio with more photos than limit : 2648>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1397796/ 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.388197183609009 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 Sep 4 17:52:32 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/1757001150_1397796_1381455458_3dd7ea65fdc7f9645b54e337266e6657_76125039.jpg resize: (1080, 1632) 1381455458 -4.556791366868182 treat image : temp/1757001150_1397796_1381455455_755fd959a5d406d9da20429f3c2bb2a5_79247342.jpg resize: (1080, 1632) 1381455455 -4.3547081651951105 treat image : temp/1757001150_1397796_1381455452_3643b0e060e3963ea3837defed7f45fb_38687807.jpg resize: (1080, 1632) 1381455452 -5.202039257383263 treat image : temp/1757001150_1397796_1381455449_464f14beac32a2f8c276b86a1c08f287_89928804.jpg resize: (1080, 1632) 1381455449 -5.258621176916558 treat image : temp/1757001150_1397796_1381455363_3264b2ad21aabbd7153c2e6ab64c949a_2720554.jpg resize: (1080, 1632) 1381455363 -2.4021974658950387 treat image : temp/1757001150_1397796_1381455360_c59145460b4015864751d09707ce3dd5_46655550.jpg resize: (1080, 1632) 1381455360 -1.0818025540983036 treat image : temp/1757001150_1397796_1381455357_4ddd0a7f50731fc178e34c7fe33227e9_68265380.jpg resize: (1080, 1632) 1381455357 -1.6551353871212977 treat image : temp/1757001150_1397796_1381455355_a57c4b96a176a4cf4bb135115e228252_65489203.jpg resize: (1080, 1632) 1381455355 -3.0175761935673546 treat image : temp/1757001150_1397796_1381455353_a588ab0614962233ebe652dbb4094f82_22405957.jpg resize: (1080, 1632) 1381455353 -4.802735501366425 treat image : temp/1757001150_1397796_1381455351_063fa5db57059aa3d7cb7c10164c98a5_59463829.jpg resize: (1080, 1632) 1381455351 -5.373478855441691 treat image : temp/1757001150_1397796_1381454330_77fd6ae2f56ca5cfa12ef45cd834a63e_57270799.jpg resize: (1080, 1632) 1381454330 -5.721015225217626 treat image : temp/1757001150_1397796_1381454326_b8ea150465d95f479a1b56cda2d6fe8c_93264810.jpg resize: (1080, 1632) 1381454326 -5.604892463146233 treat image : temp/1757001150_1397796_1381454321_cd9629e3c3d17d88e76cb1886106a686_83560402.jpg resize: (1080, 1632) 1381454321 -5.746534459800687 treat image : temp/1757001150_1397796_1381454317_5110351297bd2d5175dea4581dac0389_87990154.jpg resize: (1080, 1632) 1381454317 -4.599132498167206 treat image : temp/1757001150_1397796_1381454235_af6dea6d010a770affc183a3d664f254_8939543.jpg resize: (1080, 1632) 1381454235 -5.289851766676516 treat image : temp/1757001150_1397796_1381454232_85ffd04a8ac65cb9ed460f9605c3b955_15803180.jpg resize: (1080, 1632) 1381454232 -5.450020782564109 treat image : temp/1757001150_1397796_1381454230_673a272f894b488bb9955f4aca211b2b_15288979.jpg resize: (1080, 1632) 1381454230 -5.294032380725142 treat image : temp/1757001150_1397796_1381454228_dc34974436fecc1525c1fbc151cbf602_3720971.jpg resize: (1080, 1632) 1381454228 -4.8256357534386485 treat image : temp/1757001150_1397796_1381454226_a0e662e9096cd0a8e7481c2b36debc83_33625627.jpg resize: (1080, 1632) 1381454226 -4.682704246497416 treat image : temp/1757001150_1397796_1381454224_03d13bd9dabf9c6a17a90e087c9a92e5_18746102.jpg resize: (1080, 1632) 1381454224 -4.817457893582832 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.024131298065185547 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.023570537567138672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02693486213684082 save missing photos in datou_result : time spend for datou_step_exec : 17.58780860900879 time spend to save output : 0.08380842208862305 total time spend for step 1 : 17.671617031097412 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.17user 4.94system 0:24.62elapsed 81%CPU (0avgtext+0avgdata 139740maxresident)k 3592inputs+9480outputs (23major+250256minor)pagefaults 0swaps