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 : 3483735 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 : 1890>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3483735/ 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.3077516555786133 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 Jul 9 16:37: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/1752071848_3483735_1371411937_7ad15f2fe3b7220d5beee919f647a541.jpg resize: (1080, 1632) 1371411937 -4.930133681209984 treat image : temp/1752071848_3483735_1371411935_175035b82d3179a95f4fb1da6ca30942.jpg resize: (1080, 1632) 1371411935 -5.197982244953951 treat image : temp/1752071848_3483735_1371411933_de201bf6ce3fd99609c0949bbb03ba0a.jpg resize: (1080, 1632) 1371411933 -5.070202703716438 treat image : temp/1752071848_3483735_1371411931_ecf1c0b3be3ecd1e90a6377291edfa46.jpg resize: (1080, 1632) 1371411931 -4.314958725279817 treat image : temp/1752071848_3483735_1371411929_15561de754a5c1fe0dee35a4581ab56f.jpg resize: (1080, 1632) 1371411929 -4.348101263578829 treat image : temp/1752071848_3483735_1371411928_200ddd8d91b08d6a2ad4dd51b621e9fe.jpg resize: (1080, 1632) 1371411928 -4.000772759234254 treat image : temp/1752071848_3483735_1371411857_1283a8bcdd79277a66809a61b870e59b.jpg resize: (1080, 1632) 1371411857 -5.148771924456938 treat image : temp/1752071848_3483735_1371411854_5a9ec84fa11b5927ca0a61a7437bc6fa.jpg resize: (1080, 1632) 1371411854 -5.3759411470338145 treat image : temp/1752071848_3483735_1371411851_1ceb7594b714ec2b7a35438509a4514e.jpg resize: (1080, 1632) 1371411851 -5.339093743965957 treat image : temp/1752071848_3483735_1371411847_1ac3e01986901198bcd1f1bbe8918b33.jpg resize: (1080, 1632) 1371411847 -2.99987727891976 treat image : temp/1752071848_3483735_1371411821_171b5611d900d080eecb81226e0de66f.jpg resize: (1080, 1632) 1371411821 -5.435608467784316 treat image : temp/1752071848_3483735_1371411796_a31a08903f4cc5ecda75b6ed683faba4.jpg resize: (1080, 1632) 1371411796 -5.329833826801542 treat image : temp/1752071848_3483735_1371411766_204fcf7cf6bf89fcde42baa9a0f659fe.jpg resize: (1080, 1632) 1371411766 -3.7186436024894345 treat image : temp/1752071848_3483735_1371411739_228506d6960fbdb23d4d1fd0b25e57d3.jpg resize: (1080, 1632) 1371411739 -5.419053884835492 treat image : temp/1752071848_3483735_1371411713_569d02fa1e768f3022714825935d0cc5.jpg resize: (1080, 1632) 1371411713 -6.045714274357792 treat image : temp/1752071848_3483735_1371411688_d4fe0f579fa065d8a7727cbf6ab7d58a.jpg resize: (1080, 1632) 1371411688 -3.9987681705922524 treat image : temp/1752071848_3483735_1371411584_13ad42446b4791ef01b3d06924154592.jpg resize: (1080, 1632) 1371411584 -5.44203335605422 treat image : temp/1752071848_3483735_1371411559_7030497ba14968029166d4873eed2125.jpg resize: (1080, 1632) 1371411559 -5.219582252501767 treat image : temp/1752071848_3483735_1371411534_871ee4e82d62332e5cc58b52984664a4.jpg resize: (1080, 1632) 1371411534 -5.230222115466584 treat image : temp/1752071848_3483735_1371411507_af4b1ec3406449cc8b11370990558d0a.jpg resize: (1080, 1632) 1371411507 -2.955115972151296 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.01563715934753418 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 : 1.3478569984436035 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017896413803100586 save missing photos in datou_result : time spend for datou_step_exec : 16.685034036636353 time spend to save output : 1.3861842155456543 total time spend for step 1 : 18.071218252182007 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 4.70system 0:23.51elapsed 81%CPU (0avgtext+0avgdata 139656maxresident)k 280inputs+9576outputs (10major+257875minor)pagefaults 0swaps