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 : 1153293 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 : 8479>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1153293/ 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.3167471885681152 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 Sat Jul 12 02:27:28 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/1752280045_1153293_1371781056_b8c96573e59d59dbee59f84b45fade1b.jpg resize: (1080, 1632) 1371781056 -2.705183546516581 treat image : temp/1752280045_1153293_1371781054_859014fa4b83b2a14b5e79806dc9d606.jpg resize: (1080, 1632) 1371781054 -2.73469014946309 treat image : temp/1752280045_1153293_1371781052_efac93ddc70c579251c89e030e6970cb.jpg resize: (1080, 1632) 1371781052 -2.724119754738993 treat image : temp/1752280045_1153293_1371781050_fdae93300b09455275e1db0869a1b5f5.jpg resize: (1080, 1632) 1371781050 -2.670329376474747 treat image : temp/1752280045_1153293_1371781049_cda0a6a5960ec047d41ccb5b32f245f8.jpg resize: (1080, 1632) 1371781049 -2.6303030147253317 treat image : temp/1752280045_1153293_1371781048_906c1d8beb11d013fc5d2a2c72ec6ac8.jpg resize: (1080, 1632) 1371781048 -2.648477413368375 treat image : temp/1752280045_1153293_1371781015_a3bfe8d220e3c9f21c8ef47a6c5e6e4e.jpg resize: (1080, 1632) 1371781015 -2.6964167007640465 treat image : temp/1752280045_1153293_1371781014_4cc08aa07d2893706214bfef198fcb64.jpg resize: (1080, 1632) 1371781014 -2.7021690250713473 treat image : temp/1752280045_1153293_1371781009_234d857c4a25cd8269083f472c23c53d.jpg resize: (1080, 1632) 1371781009 -2.709193848430543 treat image : temp/1752280045_1153293_1371781008_a1f34c8b84d743ac7e4d202b68abe6d9.jpg resize: (1080, 1632) 1371781008 -2.717660148941068 treat image : temp/1752280045_1153293_1371781006_297c6f914fceab0498637cb9a356cc16.jpg resize: (1080, 1632) 1371781006 -2.7213672117405654 treat image : temp/1752280045_1153293_1371781004_9a13f1241ab3e4dfc3930eeb7be0dc4b.jpg resize: (1080, 1632) 1371781004 -2.7226236752095843 treat image : temp/1752280045_1153293_1371780697_18cff88293ac0721d2eac384b8031fa5.jpg resize: (1080, 1632) 1371780697 -2.777884867064599 treat image : temp/1752280045_1153293_1371780692_22c71c170c8b9992f1c2416e24e96e8a.jpg resize: (1080, 1632) 1371780692 -2.7738801221691216 treat image : temp/1752280045_1153293_1371780689_4632a771a4782bed56c141bcd78ea13b.jpg resize: (1080, 1632) 1371780689 -2.786645772615087 treat image : temp/1752280045_1153293_1371780687_46cc26e9f66256b69709ccd28a525da0.jpg resize: (1080, 1632) 1371780687 -2.775339716469811 treat image : temp/1752280045_1153293_1371780640_241915856fcb5cea8dd577ce67a18e38.jpg resize: (1080, 1632) 1371780640 -2.767266496189242 treat image : temp/1752280045_1153293_1371780636_a9c62020c5d41a00837b1fc6e0a02678.jpg resize: (1080, 1632) 1371780636 -2.782958132480302 treat image : temp/1752280045_1153293_1371780631_c69027f3dfa440970918f2d0e4c7ab1d.jpg resize: (1080, 1632) 1371780631 -2.7960427805148567 treat image : temp/1752280045_1153293_1371780624_2b7267cd2ba272050c3cb4318757ab9c.jpg resize: (1080, 1632) 1371780624 -2.808828237417158 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.014717578887939453 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.09094047546386719 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.11801934242248535 save missing photos in datou_result : time spend for datou_step_exec : 14.906765460968018 time spend to save output : 0.22849321365356445 total time spend for step 1 : 15.135258674621582 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.63user 3.72system 0:18.91elapsed 91%CPU (0avgtext+0avgdata 137632maxresident)k 0inputs+7128outputs (0major+237930minor)pagefaults 0swaps