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 : 1711102 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 : 571>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1711102/ 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.4072835445404053 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 14 07:22:29 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/1747200146_1711102_1358097366_965cb12c3c40d4b20c93f05996762567.jpg resize: (1080, 1632) 1358097366 -6.163895338669173 treat image : temp/1747200146_1711102_1358097344_a411fb660c155394cecb0f74da4f8b88.jpg resize: (1080, 1632) 1358097344 -6.395009225833629 treat image : temp/1747200146_1711102_1358097341_2dc2e2a732021db276d19a603c282212.jpg resize: (1080, 1632) 1358097341 -6.39578557271265 treat image : temp/1747200146_1711102_1358097337_921efae83a7bd07c2fd4500e90ec5dbf.jpg resize: (1080, 1632) 1358097337 -5.057651216802467 treat image : temp/1747200146_1711102_1358097333_bff1a3368a71abace79f451bb11de521.jpg resize: (1080, 1632) 1358097333 -5.058378565066844 treat image : temp/1747200146_1711102_1358097330_31f855d863a06d5ab53466b7d938e708.jpg resize: (1080, 1632) 1358097330 -5.63856546745376 treat image : temp/1747200146_1711102_1358097326_d79b55f0e7bd02e9f01c21abb001dc64.jpg resize: (1080, 1632) 1358097326 -5.7554941962865565 treat image : temp/1747200146_1711102_1358097292_8f80992449a52d49d15b465d687e4bc6.jpg resize: (1080, 1632) 1358097292 -1.1536824883598091 treat image : temp/1747200146_1711102_1358097288_7da14cc087605d78b41fa818c671cd6d.jpg resize: (1080, 1632) 1358097288 -3.170191055139209 treat image : temp/1747200146_1711102_1358097284_705b59e5f3a60429ec2035894670ec70.jpg resize: (1080, 1632) 1358097284 -5.8812369561757825 treat image : temp/1747200146_1711102_1358097257_ab901d96bf2eccd7e08bc8f0715f218e.jpg resize: (1080, 1632) 1358097257 -5.936793256620154 treat image : temp/1747200146_1711102_1358097253_6f8f88f42d2ba42ee65c809d0e1b99cc.jpg resize: (1080, 1632) 1358097253 -4.573251796274581 treat image : temp/1747200146_1711102_1358097248_b6b4f9cb0526738b4e969179f1144ea9.jpg resize: (1080, 1632) 1358097248 -4.680857108127675 treat image : temp/1747200146_1711102_1358097245_4a47de4c08dcac8d3baa2421d65969e8.jpg resize: (1080, 1632) 1358097245 -5.951653603062982 treat image : temp/1747200146_1711102_1358097242_3aac54c45ed2840138fe8bf5db4540ad.jpg resize: (1080, 1632) 1358097242 -6.184653521107103 treat image : temp/1747200146_1711102_1358097239_5675095c65a0d8ccdbcffd560edcbf86.jpg resize: (1080, 1632) 1358097239 -3.2780861376987582 treat image : temp/1747200146_1711102_1358097210_72936192a4c5afc17b5e1853ed813f79.jpg resize: (1080, 1632) 1358097210 -5.648479253247982 treat image : temp/1747200146_1711102_1358097207_b68f0dffd9350167a12919b0b7ca00ef.jpg resize: (1080, 1632) 1358097207 -3.1027773870528175 treat image : temp/1747200146_1711102_1358097204_6209f5f3d61bd7e97c621ad0dada3faa.jpg resize: (1080, 1632) 1358097204 -5.068588070005958 treat image : temp/1747200146_1711102_1358097200_af4976b66c867cb68829947b374635c0.jpg resize: (1080, 1632) 1358097200 -5.336053919771852 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.013611555099487305 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.13401007652282715 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2986786365509033 save missing photos in datou_result : time spend for datou_step_exec : 15.635717391967773 time spend to save output : 0.46267032623291016 total time spend for step 1 : 16.098387718200684 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 4.02system 0:20.54elapsed 89%CPU (0avgtext+0avgdata 141444maxresident)k 4480inputs+10536outputs (35major+261356minor)pagefaults 0swaps