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 : 804184 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 : 5776>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/804184/ 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.920067548751831 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:17: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/1752765447_804184_1372478718_b5cc1b1ecb4db35f8667757d511dac8e.jpg resize: (1080, 1632) 1372478718 -2.5796006736216106 treat image : temp/1752765447_804184_1372478714_bbc89b66c6cc9dee448da7214d15060d.jpg resize: (1080, 1632) 1372478714 -0.996013203985844 treat image : temp/1752765447_804184_1372478684_0e69f7e9fb5a2293641ac456675f1143.jpg resize: (1080, 1632) 1372478684 -5.985597890833655 treat image : temp/1752765447_804184_1372478679_cb10a54cadd37474a45843e702c30ccd.jpg resize: (1080, 1632) 1372478679 -6.00564902796158 treat image : temp/1752765447_804184_1372478678_52ddf258c7f342e7780314b9e63a52be.jpg resize: (1080, 1632) 1372478678 -5.519313402923862 treat image : temp/1752765447_804184_1372478665_e4ae54df74a3cd87bcd856f9decfa7d2.jpg resize: (1080, 1632) 1372478665 -6.03463250657216 treat image : temp/1752765447_804184_1372478577_b163eef81a148fa1a395d9a8ab2c7ffb.jpg resize: (1080, 1632) 1372478577 -4.318035649901452 treat image : temp/1752765447_804184_1372478558_26e22e5762c68a650e0c1d4c8387cb72.jpg resize: (1080, 1632) 1372478558 -5.321926985024323 treat image : temp/1752765447_804184_1372478554_d5b735c87c90f9eecbe1d7bc23293f75.jpg resize: (1080, 1632) 1372478554 -5.234463419618612 treat image : temp/1752765447_804184_1372478539_d891c6b89e411cb844cc25c772209fda.jpg resize: (1080, 1632) 1372478539 -2.570442453584047 treat image : temp/1752765447_804184_1372478517_87822a66a058170e34b1ae6598cfdd26.jpg resize: (1080, 1632) 1372478517 -1.71416333797513 treat image : temp/1752765447_804184_1372478493_b157de66546de24c4b0ce0ea4f14afdb.jpg resize: (1080, 1632) 1372478493 -2.6765696785285393 treat image : temp/1752765447_804184_1372337159_b6e247aded0fa59759ae696b775edf1c.jpg resize: (1080, 1632) 1372337159 -2.3449333764256077 treat image : temp/1752765447_804184_1372337157_513fde9f4961c24985c6f7c0ab0f0064.jpg resize: (1080, 1632) 1372337157 -2.3621499590281334 treat image : temp/1752765447_804184_1372337155_f0da516b3353f65a2e42b6a4b1b28c28.jpg resize: (1080, 1632) 1372337155 -3.6387557197050073 treat image : temp/1752765447_804184_1372337154_c8b393964e22c17e4a5c1e547f50e04b.jpg resize: (1080, 1632) 1372337154 -3.6358837731917126 treat image : temp/1752765447_804184_1372337151_74e348d3380c096160680a69d9d20730.jpg resize: (1080, 1632) 1372337151 -3.672417482020176 treat image : temp/1752765447_804184_1372337148_c2e4c85c69ccc94ecfebad41b2522e1b.jpg resize: (1080, 1632) 1372337148 -3.6834967585299605 treat image : temp/1752765447_804184_1372337127_df050f72717a551a6ffb2ab7631eb857.jpg resize: (1080, 1632) 1372337127 -2.3650687863005273 treat image : temp/1752765447_804184_1372337124_c5ae99f642f56ca318b1851edafb969c.jpg resize: (1080, 1632) 1372337124 -2.373473215340748 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.036253929138183594 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.030434131622314453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0417482852935791 save missing photos in datou_result : time spend for datou_step_exec : 14.429874181747437 time spend to save output : 0.12362837791442871 total time spend for step 1 : 14.553502559661865 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.69user 3.38system 0:20.34elapsed 83%CPU (0avgtext+0avgdata 138028maxresident)k 152inputs+8384outputs (18major+259344minor)pagefaults 0swaps