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 : 2732999 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 : 1204>100 please execute split_portfolio.py -i 22024890 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2720883'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2732999/ 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.406552791595459 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 Tue Apr 15 11:27: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/1744709249_2732999_1349854290_37ca22602fc656fc2d222b01cde452c2.jpg resize: (1080, 1632) 1349854290 -6.437909504630915 treat image : temp/1744709249_2732999_1349854284_e48133091518295fb46743dd8b63458e.jpg resize: (1080, 1632) 1349854284 -6.350851712737266 treat image : temp/1744709249_2732999_1349854263_461764da3e6a5d97dd3bebe08030d027.jpg resize: (1080, 1632) 1349854263 -6.096881634170968 treat image : temp/1744709249_2732999_1349854259_34e64db1d9ae1d0f81d727a3583e252f.jpg resize: (1080, 1632) 1349854259 -5.430404651510058 treat image : temp/1744709249_2732999_1349854253_4a548bf7893409fb153e650924247fc8.jpg resize: (1080, 1632) 1349854253 -5.941182097966121 treat image : temp/1744709249_2732999_1349854247_04e6c42a65fd3554daa37a217bcf4055.jpg resize: (1080, 1632) 1349854247 -5.779616320397944 treat image : temp/1744709249_2732999_1349854243_6df3285b3e657624056d51c9df44d53c.jpg resize: (1080, 1632) 1349854243 -6.111624712507684 treat image : temp/1744709249_2732999_1349854238_c39a6dcdc4fa2861c565316ba349f5a9.jpg resize: (1080, 1632) 1349854238 -6.169615795960866 treat image : temp/1744709249_2732999_1349854071_b91c96b62bd39a4f905fdfc061face18.jpg resize: (1080, 1632) 1349854071 -2.997518759760718 treat image : temp/1744709249_2732999_1349854062_d94a6b33857eba78ee5ca36d330f74ef.jpg resize: (1080, 1632) 1349854062 -5.166315040726883 treat image : temp/1744709249_2732999_1349854056_c77d578b966cfd9061f94e879bf1fc20.jpg resize: (1080, 1632) 1349854056 -3.719015846200083 treat image : temp/1744709249_2732999_1349854050_53921c6244f0b4fc744bb8287006bea1.jpg resize: (1080, 1632) 1349854050 -5.694189017956826 treat image : temp/1744709249_2732999_1349854034_7351269150eccf705b2fe9f49e0e7041.jpg resize: (1080, 1632) 1349854034 -5.686605353977693 treat image : temp/1744709249_2732999_1349854029_37beb6bbc4b01b61d950cd26be965abd.jpg resize: (1080, 1632) 1349854029 -5.035471101666167 treat image : temp/1744709249_2732999_1349854024_ad8300416fa11d650ff0b5ccd89d1e95.jpg resize: (1080, 1632) 1349854024 -5.903910688597616 treat image : temp/1744709249_2732999_1349854011_047f0e9a2c893cb320bd2cd96da0f5fe.jpg resize: (1080, 1632) 1349854011 -4.504880300771294 treat image : temp/1744709249_2732999_1349854000_a78c87d6bcc4138afc3800660ac71e9f.jpg resize: (1080, 1632) 1349854000 -5.5095676484621565 treat image : temp/1744709249_2732999_1349853977_2cfcebdcdd5beb74e51a8cd70e14541b.jpg resize: (1080, 1632) 1349853977 -5.3877998370507845 treat image : temp/1744709249_2732999_1349853784_e7a489da22a7ae5282db22491838b376.jpg resize: (1080, 1632) 1349853784 -6.34768904434972 treat image : temp/1744709249_2732999_1349853783_811141b09d5556c24a3f8cc0d1581d7d.jpg resize: (1080, 1632) 1349853783 -6.34768904434972 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.013750553131103516 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.012999534606933594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013823270797729492 save missing photos in datou_result : time spend for datou_step_exec : 16.318743228912354 time spend to save output : 0.08238005638122559 total time spend for step 1 : 16.40112328529358 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.17user 4.01system 0:22.64elapsed 84%CPU (0avgtext+0avgdata 140928maxresident)k 2536inputs+11000outputs (13major+260049minor)pagefaults 0swaps