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 : 3457145 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 : 2652>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3457145/ 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.432307481765747 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 12 18:27:31 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/1747067249_3457145_1357690208_b9b569646d6359ead2261b1a604ca717.jpg resize: (1080, 1632) 1357690208 -3.464941183264227 treat image : temp/1747067249_3457145_1357690206_4f621aaffab524edd9e7ce11cb32aa1c.jpg resize: (1080, 1632) 1357690206 -6.0562241134607 treat image : temp/1747067249_3457145_1357690204_65e17a997b046514bb3d7359410cee24.jpg resize: (1080, 1632) 1357690204 -4.269816599081709 treat image : temp/1747067249_3457145_1357690181_ff5f995b3103db6c9c58264daa80d2eb.jpg resize: (1080, 1632) 1357690181 -1.9365244003881334 treat image : temp/1747067249_3457145_1357690149_3a47d57d42ef8416f2ac01ca7a7de49b.jpg resize: (1080, 1632) 1357690149 -1.6568947633184443 treat image : temp/1747067249_3457145_1357689737_c40fa60a36268576a0d5423d7f3675c9.jpg resize: (1080, 1632) 1357689737 0.12039515349646263 treat image : temp/1747067249_3457145_1357689706_53ea8a334ce97ac7687e7e766d2e3816.jpg resize: (1080, 1632) 1357689706 -1.8504906732589612 treat image : temp/1747067249_3457145_1357689679_6cd5bfdecc2c732825fdf6b249fc7f7c.jpg resize: (1080, 1632) 1357689679 -1.8550223178892344 treat image : temp/1747067249_3457145_1357689677_d4503243510750f73c51557beee6d4dc.jpg resize: (1080, 1632) 1357689677 -3.5703068410656753 treat image : temp/1747067249_3457145_1357689658_3dcc4f64a1a86c9d0cebcf32354f9602.jpg resize: (1080, 1632) 1357689658 -3.195909663902371 treat image : temp/1747067249_3457145_1357689453_722c8ea4ed56429fea84be99fae72693.jpg resize: (1080, 1632) 1357689453 -5.768410328577387 treat image : temp/1747067249_3457145_1357689427_5e423ce31709219670829c62fd6d93fa.jpg resize: (1080, 1632) 1357689427 -5.843205665670063 treat image : temp/1747067249_3457145_1357689403_b378cc6421481f4214058d9f7782a1e0.jpg resize: (1080, 1632) 1357689403 -6.577799528167888 treat image : temp/1747067249_3457145_1357689386_953106c666bcabd8c7b72f902071ecb7.jpg resize: (1080, 1632) 1357689386 -6.542365772549472 treat image : temp/1747067249_3457145_1357689383_4c381f0805482586ba41583253389603.jpg resize: (1080, 1632) 1357689383 -5.85075889036185 treat image : temp/1747067249_3457145_1357689379_ea235010206a48673e5f6ac617f7de97.jpg resize: (1080, 1632) 1357689379 -5.472393412930874 treat image : temp/1747067249_3457145_1357688859_dc28183f69a98a57130eb97df32bce0b.jpg resize: (1080, 1632) 1357688859 -1.9353275050809802 treat image : temp/1747067249_3457145_1357688811_52135488100d22adf9d1a88959036400.jpg resize: (1080, 1632) 1357688811 -1.9472375304742187 treat image : temp/1747067249_3457145_1357688760_31a04597dbbe0c80620b8bbaaaec0416.jpg resize: (1080, 1632) 1357688760 -6.2613105912258185 treat image : temp/1747067249_3457145_1357688708_065df8de7266ccfa39090140a77813fe.jpg resize: (1080, 1632) 1357688708 -5.74759808558285 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.01660299301147461 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 : 8.231868267059326 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016672611236572266 save missing photos in datou_result : time spend for datou_step_exec : 15.27037262916565 time spend to save output : 8.270339488983154 total time spend for step 1 : 23.540712118148804 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 3.32system 0:30.19elapsed 58%CPU (0avgtext+0avgdata 139616maxresident)k 104inputs+9480outputs (3major+261104minor)pagefaults 0swaps