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 : 2017917 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 : 845>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2017917/ 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.5279695987701416 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 Fri May 16 03:57: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/1747360647_2017917_1358766494_f17c7574e86afeb7d0a3238dc60a4a2c.jpg resize: (1080, 1632) 1358766494 -1.3981064086327077 treat image : temp/1747360647_2017917_1358766453_e2d8d34fe7a02aed2da4e722faf2cca2.jpg resize: (1080, 1632) 1358766453 -0.9167265598191521 treat image : temp/1747360647_2017917_1358766449_5619c38f5a7c4aa427ef49a6df473666.jpg resize: (1080, 1632) 1358766449 -2.889123231151047 treat image : temp/1747360647_2017917_1358766442_7cc82f811fa9043df13d5255602058cf.jpg resize: (1080, 1632) 1358766442 -4.205873899222961 treat image : temp/1747360647_2017917_1358766439_4dc2534e14966f1bb0791dfc85c88ac1.jpg resize: (1080, 1632) 1358766439 -4.333563544532531 treat image : temp/1747360647_2017917_1358766388_db133862d8d1f7f92307e07a05493729.jpg resize: (1080, 1632) 1358766388 -4.152835800687427 treat image : temp/1747360647_2017917_1358766382_07217d0abe45255f700662edc9c409ef.jpg resize: (1080, 1632) 1358766382 -4.799423404570718 treat image : temp/1747360647_2017917_1358766323_e68b503e5c438c78529f152da9c6221c.jpg resize: (1080, 1632) 1358766323 -0.9854006091835141 treat image : temp/1747360647_2017917_1358766215_8906b356f152f5693b2b411bbaf78c5f.jpg resize: (1080, 1632) 1358766215 -1.2422650115153404 treat image : temp/1747360647_2017917_1358766185_f15b6b3a622e35b8147f576bcc3136a4.jpg resize: (1080, 1632) 1358766185 -5.8087070502333935 treat image : temp/1747360647_2017917_1358766157_4c493793d8b1ced085c316bc482554a9.jpg resize: (1080, 1632) 1358766157 -5.002399941621226 treat image : temp/1747360647_2017917_1358766132_9f700bde06d8fb641906d030b40141e7.jpg resize: (1080, 1632) 1358766132 -5.793360814120624 treat image : temp/1747360647_2017917_1358766108_f4421ca9888ae86d7458b60bab5cf8a4.jpg resize: (1080, 1632) 1358766108 -4.863192610609515 treat image : temp/1747360647_2017917_1358765968_9a6da052a185044785288cfeb9f1968d.jpg resize: (1080, 1632) 1358765968 -5.50725877342715 treat image : temp/1747360647_2017917_1358765966_1bda2938b41fc97da94258faf9d1a15e.jpg resize: (1080, 1632) 1358765966 -0.4919721861649154 treat image : temp/1747360647_2017917_1358765962_ea891ea7a9b0766af720c80196bf922f.jpg resize: (1080, 1632) 1358765962 -0.9954915185881137 treat image : temp/1747360647_2017917_1358761164_99973daa21979817525f9a233c49c439.jpg resize: (1080, 1632) 1358761164 -5.874802606873582 treat image : temp/1747360647_2017917_1358761137_1bda8228320bccb6dca39a125e35dbf1.jpg resize: (1080, 1632) 1358761137 -5.612544388503073 treat image : temp/1747360647_2017917_1358760970_a51e5aed66b392d2d52e83be229710c3.jpg resize: (1080, 1632) 1358760970 -5.7387878518358475 treat image : temp/1747360647_2017917_1358760432_2081087b78e4593c696ceafaa501cd06.jpg resize: (1080, 1632) 1358760432 -1.6445516274429972 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.015703678131103516 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.3718836307525635 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02187323570251465 save missing photos in datou_result : time spend for datou_step_exec : 16.189677953720093 time spend to save output : 0.4141659736633301 total time spend for step 1 : 16.603843927383423 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 4.06system 0:22.36elapsed 84%CPU (0avgtext+0avgdata 141800maxresident)k 136inputs+8376outputs (0major+260880minor)pagefaults 0swaps