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 : 3781581 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 : 3492>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/3781581/ 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.4082396030426025 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 19:07: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/1752080848_3781581_1371427857_90abf35878943d2185c7d98271ce01db.jpg resize: (1080, 1632) 1371427857 -2.4495089922324187 treat image : temp/1752080848_3781581_1371427856_a1326fb92d7177623c66c4e010dcc5d4.jpg resize: (1080, 1632) 1371427856 -2.493555522087442 treat image : temp/1752080848_3781581_1371427855_65f7cbf1ceae168ecdc1da14109ea5f7.jpg resize: (1080, 1632) 1371427855 -2.4412511796019105 treat image : temp/1752080848_3781581_1371427854_5ad0d9f5f7b6ea01f58d81e8065058df.jpg resize: (1080, 1632) 1371427854 -2.69902029169113 treat image : temp/1752080848_3781581_1371427852_b6a94e10477093f07378a3daf9678caf.jpg resize: (1080, 1632) 1371427852 -1.5520703316872346 treat image : temp/1752080848_3781581_1371427851_e955ec41f987cb39b208732ad33d9ccd.jpg resize: (1080, 1632) 1371427851 -3.3609409800307817 treat image : temp/1752080848_3781581_1371427847_b39e0b7d464090deb164c03e5abbb46e.jpg resize: (1080, 1632) 1371427847 -3.3975446809644176 treat image : temp/1752080848_3781581_1371427845_eee4fa0341ac67adc0b93f1f5e2f6ea1.jpg resize: (1080, 1632) 1371427845 -4.941572639858021 treat image : temp/1752080848_3781581_1371427843_11ada719115be6d7224bbf86f43d345f.jpg resize: (1080, 1632) 1371427843 -4.040690721264499 treat image : temp/1752080848_3781581_1371427841_13d86f8560131ddb179122b00adb3be9.jpg resize: (1080, 1632) 1371427841 -5.826675437125477 treat image : temp/1752080848_3781581_1371427839_4853b146e172d19ca896267588b3a065.jpg resize: (1080, 1632) 1371427839 -5.667194833730397 treat image : temp/1752080848_3781581_1371427837_11a5d44ee47ea7d83cbc8564682f7fdc.jpg resize: (1080, 1632) 1371427837 -4.995111410624159 treat image : temp/1752080848_3781581_1371427797_efc61cdb9aaa580bc48690d00bdcc975.jpg resize: (1080, 1632) 1371427797 -2.6977270316167448 treat image : temp/1752080848_3781581_1371427796_7940a09265a5f52814a3cbabfe833782.jpg resize: (1080, 1632) 1371427796 -4.138833746023241 treat image : temp/1752080848_3781581_1371427794_39776e2ca5593076abebba71d3886942.jpg resize: (1080, 1632) 1371427794 -5.005080046663207 treat image : temp/1752080848_3781581_1371427792_5ccdcc33c40fed072a3443ac13aef72e.jpg resize: (1080, 1632) 1371427792 -5.001963836963105 treat image : temp/1752080848_3781581_1371427791_a03a9411732926f9b14bee91e192dd0b.jpg resize: (1080, 1632) 1371427791 -5.848235672387538 treat image : temp/1752080848_3781581_1371427790_61e3d8bcc5e0762b8e14f7cae2d6605d.jpg resize: (1080, 1632) 1371427790 -5.1730714989548225 treat image : temp/1752080848_3781581_1371427789_f520e9e6a2cde186adc463ff1007f79a.jpg resize: (1080, 1632) 1371427789 -4.919234560753773 treat image : temp/1752080848_3781581_1371427787_a60ea94802e29e2cc887f2fa514c6a6f.jpg resize: (1080, 1632) 1371427787 -5.259115069607789 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.012857198715209961 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.011919260025024414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013876676559448242 save missing photos in datou_result : time spend for datou_step_exec : 13.212469816207886 time spend to save output : 0.043204307556152344 total time spend for step 1 : 13.255674123764038 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 1.50system 0:18.75elapsed 84%CPU (0avgtext+0avgdata 139468maxresident)k 280inputs+8832outputs (40major+127445minor)pagefaults 0swaps