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 : 2121503 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 : 325>100 please execute split_portfolio.py -i 20594175 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2592036'] with mtr_portfolio_ids : ['20594175'] and first list_photo_ids : [] new path : /proc/2121503/ 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 : 1.9895026683807373 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 Mon Feb 17 07:22: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/1739773348_2121503_1338116956_96eb3fb1b9e633fad1819e5022f8c386.jpg resize: (1080, 1632) 1338116956 -6.083675631690342 treat image : temp/1739773348_2121503_1338116952_ea53c7a0f53338026d02def4446a9949.jpg resize: (1080, 1632) 1338116952 -6.213305966435918 treat image : temp/1739773348_2121503_1338116949_9d7e896519f6a1d6d4532f12e2417651.jpg resize: (1080, 1632) 1338116949 -5.950217694306933 treat image : temp/1739773348_2121503_1338116946_c188870f6e47e65b6153d329f98e2aa6.jpg resize: (1080, 1632) 1338116946 -6.019515909397658 treat image : temp/1739773348_2121503_1338116943_4f4ae5506723b254cc63c6fa931ef7de.jpg resize: (1080, 1632) 1338116943 -4.073193347826122 treat image : temp/1739773348_2121503_1338116933_cb8222457dd7b6cab3591486fb818ad2.jpg resize: (1080, 1632) 1338116933 -5.935243867525632 treat image : temp/1739773348_2121503_1338116801_aa8701a3e6e0acdaffb0989e79cc9545.jpg resize: (1080, 1632) 1338116801 -6.030952509377717 treat image : temp/1739773348_2121503_1338116799_ff2fd149ca0510c56b49b13f3769cb41.jpg resize: (1080, 1632) 1338116799 -6.44197295705562 treat image : temp/1739773348_2121503_1338116796_96ed0ccf7aa3e630b736432df3f1b188.jpg resize: (1080, 1632) 1338116796 -6.037136718107985 treat image : temp/1739773348_2121503_1338116786_0a54d1c64edeb57ee84d3ccd672c462e.jpg resize: (1080, 1632) 1338116786 -6.210900292522421 treat image : temp/1739773348_2121503_1338116782_d54b2d3e625be38dba30af8087855e8d.jpg resize: (1080, 1632) 1338116782 -5.750729588876705 treat image : temp/1739773348_2121503_1338116778_cacd10715d96865af32ba847d2f598b7.jpg resize: (1080, 1632) 1338116778 -6.6399320349243895 treat image : temp/1739773348_2121503_1338116774_f2013315a69b079c025ce1ca1c3f8c14.jpg resize: (1080, 1632) 1338116774 -4.718294834712949 treat image : temp/1739773348_2121503_1338116770_9679ce2911e33495805adbf5e1f7c5b9.jpg resize: (1080, 1632) 1338116770 -5.96320673962895 treat image : temp/1739773348_2121503_1338116760_3cbe66a235a549910d8f3eaaf0105cf5.jpg resize: (1080, 1632) 1338116760 -6.001082991356257 treat image : temp/1739773348_2121503_1338116750_3519ec6027e245ab295f403a1d556893.jpg resize: (1080, 1632) 1338116750 -4.496100231998424 treat image : temp/1739773348_2121503_1338116747_6983b41c82093226aaa8d21952ce03db.jpg resize: (1080, 1632) 1338116747 -3.9047783498982236 treat image : temp/1739773348_2121503_1338116743_1c3b284a69d527ad4346f09368cfb2f4.jpg resize: (1080, 1632) 1338116743 -5.4424493207187234 treat image : temp/1739773348_2121503_1338116741_a038b485b214d7f760116a6efc7c494b.jpg resize: (1080, 1632) 1338116741 -5.985708303035072 treat image : temp/1739773348_2121503_1338116739_ea0d73441fb1cf758ffccf467f40b626.jpg resize: (1080, 1632) 1338116739 -4.400512349728512 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.012851953506469727 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.011743307113647461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015151262283325195 save missing photos in datou_result : time spend for datou_step_exec : 12.839041709899902 time spend to save output : 0.044358015060424805 total time spend for step 1 : 12.883399724960327 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.90user 1.44system 0:17.73elapsed 86%CPU (0avgtext+0avgdata 143420maxresident)k 384inputs+11664outputs (11major+116568minor)pagefaults 0swaps