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 : 3992807 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 : 2890>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3992807/ 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.4684600830078125 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 21 19:42:28 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/1747849346_3992807_1360132400_3604a8be021cc9e02ffae3f435955ccb.jpg resize: (1080, 1632) 1360132400 -1.6147412190751442 treat image : temp/1747849346_3992807_1360132369_967fe59821cc63d3fb40ddad1f43e4f8.jpg resize: (1080, 1632) 1360132369 -2.113258322489271 treat image : temp/1747849346_3992807_1360132341_01d37094812e094cb8f40aa26795265a.jpg resize: (1080, 1632) 1360132341 -2.77268943162302 treat image : temp/1747849346_3992807_1360132313_2c3bdb7de64b41063d827e2f51c94b95.jpg resize: (1080, 1632) 1360132313 -5.968741208641542 treat image : temp/1747849346_3992807_1360132278_94b59e3dae56ee226e729cf3a16fafcc.jpg resize: (1080, 1632) 1360132278 -3.615012488052437 treat image : temp/1747849346_3992807_1360132201_f84865eae08c86cf756dcfc422fecfb9.jpg resize: (1080, 1632) 1360132201 -6.226292934867094 treat image : temp/1747849346_3992807_1360132198_43623fc1029f59cc62b6a4a57800910a.jpg resize: (1080, 1632) 1360132198 -5.939816976869243 treat image : temp/1747849346_3992807_1360132194_52642063d98613c510b2e1addc9f9340.jpg resize: (1080, 1632) 1360132194 -4.244443104761805 treat image : temp/1747849346_3992807_1360132189_397c82c336b50567261f268d9e73ba09.jpg resize: (1080, 1632) 1360132189 -5.788407538525205 treat image : temp/1747849346_3992807_1360132186_6bc3072be1d276596c3e971162d3fab9.jpg resize: (1080, 1632) 1360132186 -0.5554118616341208 treat image : temp/1747849346_3992807_1360132080_f93ed55db08c7b0984a18a0dd558e2c4.jpg resize: (1080, 1632) 1360132080 -4.976724391197823 treat image : temp/1747849346_3992807_1360132052_d53151ea81d89399a1077bd2465f0e70.jpg resize: (1080, 1632) 1360132052 -6.097256687102257 treat image : temp/1747849346_3992807_1360132013_a981f61f2169a052027601c48c525921.jpg resize: (1080, 1632) 1360132013 -5.028690214210561 treat image : temp/1747849346_3992807_1360131953_8ada6fb507392c398e212489172f6748.jpg resize: (1080, 1632) 1360131953 -4.857896493329002 treat image : temp/1747849346_3992807_1360131877_1a7504e0b6a20cc7052f8c4126a4a6bd.jpg resize: (1080, 1632) 1360131877 -3.374766716652136 treat image : temp/1747849346_3992807_1360131829_0a58be5c108ca1d982bac6987c5a2ac5.jpg resize: (1080, 1632) 1360131829 -5.645739916066038 treat image : temp/1747849346_3992807_1360131370_23464e3518cdf2d7276e582a1bc2cdbf.jpg resize: (1080, 1632) 1360131370 -2.7525172484469143 treat image : temp/1747849346_3992807_1360131323_1ded66b98af542cc01f7ee5f99b142e9.jpg resize: (1080, 1632) 1360131323 -0.660670932705494 treat image : temp/1747849346_3992807_1360131272_133daa539ee6a7d5d046fcde309ba33d.jpg resize: (1080, 1632) 1360131272 -1.2239250253249228 treat image : temp/1747849346_3992807_1360131238_744e41d9f14b7da9fca9c119ba745315.jpg resize: (1080, 1632) 1360131238 -1.9452062955801523 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.013815879821777344 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.012884140014648438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015053749084472656 save missing photos in datou_result : time spend for datou_step_exec : 15.427242994308472 time spend to save output : 0.04607081413269043 total time spend for step 1 : 15.473313808441162 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 3.64system 0:19.75elapsed 91%CPU (0avgtext+0avgdata 139052maxresident)k 224inputs+9448outputs (7major+264274minor)pagefaults 0swaps