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 : 850304 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 : 5891>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/850304/ 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 : 3.074052572250366 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 Jul 17 17:37: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/1752766648_850304_1372482199_ebc3990fcfcd61fc3517d28a7c87085d.jpg resize: (1080, 1632) 1372482199 -5.507086899951767 treat image : temp/1752766648_850304_1372482160_ae4a4a825125e3d4655bc1ecacf58985.jpg resize: (1080, 1632) 1372482160 -5.511828446702733 treat image : temp/1752766648_850304_1372482117_522041d022bfee3c456834eae2e44bdc.jpg resize: (1080, 1632) 1372482117 -5.510007963871862 treat image : temp/1752766648_850304_1372482085_cfbc396d7d7d9aeccf6e952fac5c8c3a.jpg resize: (1080, 1632) 1372482085 -5.505427095169044 treat image : temp/1752766648_850304_1372482065_cb4f093df1ed3eadd5ce009de5aaa0a3.jpg resize: (1080, 1632) 1372482065 -5.50774816689406 treat image : temp/1752766648_850304_1372482063_6d66bdf98cdf787016840f65eb92d0eb.jpg resize: (1080, 1632) 1372482063 -5.506920548211685 treat image : temp/1752766648_850304_1372336649_e2340393b6267a47bc19dac0ffce300e.jpg resize: (1080, 1632) 1372336649 -2.748850992909346 treat image : temp/1752766648_850304_1372336647_5ad41a28bbb4d68075982e1a9544de71.jpg resize: (1080, 1632) 1372336647 -2.7564752811229494 treat image : temp/1752766648_850304_1372336644_114c4dfed084b692f208a32dc7d73a9d.jpg resize: (1080, 1632) 1372336644 -2.735815712203476 treat image : temp/1752766648_850304_1372336623_1afe390b802c78966a4ddfe576a9716a.jpg resize: (1080, 1632) 1372336623 -5.094280778514106 treat image : temp/1752766648_850304_1372336621_6c6d41d804a63bd74525955f41aaa0f7.jpg resize: (1080, 1632) 1372336621 -5.089722186995097 treat image : temp/1752766648_850304_1372336620_a3d0faf1d927ff3edb69dce75335da54.jpg resize: (1080, 1632) 1372336620 -5.085395773179623 treat image : temp/1752766648_850304_1372336618_6bca56240080b5018293b4a01995b7a3.jpg resize: (1080, 1632) 1372336618 -5.062981059362378 treat image : temp/1752766648_850304_1372336617_93b3aa51b81883f46b1ce28e1382051a.jpg resize: (1080, 1632) 1372336617 -5.091434452551551 treat image : temp/1752766648_850304_1372336614_e5c41fbf927e7947d5d24bf68a80b491.jpg resize: (1080, 1632) 1372336614 -3.410896939743485 treat image : temp/1752766648_850304_1372336592_b868485b92142af2e8cd1d855338db9b.jpg resize: (1080, 1632) 1372336592 -4.82365224649052 treat image : temp/1752766648_850304_1372336589_8a9376a39af4d8ab617dd48667d162cc.jpg resize: (1080, 1632) 1372336589 -4.818350744388944 treat image : temp/1752766648_850304_1372336587_56ca064b09f3a77d3a25dff60b314863.jpg resize: (1080, 1632) 1372336587 -4.824018268365683 treat image : temp/1752766648_850304_1372336585_67d3639f927b2a4e7c2bd52949b22ca0.jpg resize: (1080, 1632) 1372336585 -5.0984163809101855 treat image : temp/1752766648_850304_1372336582_ab04acb4c089d210a82b9027cae8c6df.jpg resize: (1080, 1632) 1372336582 -5.094011623033224 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.02623748779296875 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.025419235229492188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029480934143066406 save missing photos in datou_result : time spend for datou_step_exec : 17.2243812084198 time spend to save output : 0.09362244606018066 total time spend for step 1 : 17.31800365447998 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 5.34system 0:24.43elapsed 80%CPU (0avgtext+0avgdata 137996maxresident)k 88inputs+9360outputs (4major+256114minor)pagefaults 0swaps