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 : 3311443 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 : 1590>100 please execute split_portfolio.py -i 27110099 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3760514'] with mtr_portfolio_ids : ['27110099'] and first list_photo_ids : [] new path : /proc/3311443/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.9748845100402832 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 Sep 23 14:17: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/1758629846_3311443_1385693751_44463b89ebbc1eea66e340ff03dd150b.jpg resize: (1080, 1632) 1385693751 -0.9652578209829547 treat image : temp/1758629846_3311443_1385693728_8d451e7ef3d2b4bd604b723a95bfb837.jpg resize: (1080, 1632) 1385693728 -2.389359715053214 treat image : temp/1758629846_3311443_1385693727_00bf0662429c49ff6f6b3ce5f758fd46.jpg resize: (1080, 1632) 1385693727 -2.0547441769527146 treat image : temp/1758629846_3311443_1385693697_02348af00c02b2d6051c3d73e0667d88.jpg resize: (1080, 1632) 1385693697 -5.771492647594379 treat image : temp/1758629846_3311443_1385693695_16ba587592dd75b5836b10f03b41052b.jpg resize: (1080, 1632) 1385693695 -2.9531052363363925 treat image : temp/1758629846_3311443_1385693692_4d2132db8130491e611d134cd234220b.jpg resize: (1080, 1632) 1385693692 -5.330827987445051 treat image : temp/1758629846_3311443_1385693684_c6198db1144348e41fcd2a64ae4462e6.jpg resize: (1080, 1632) 1385693684 -6.383908925809424 treat image : temp/1758629846_3311443_1385693683_f75266963a91f78824fcf08a8bb3a05c.jpg resize: (1080, 1632) 1385693683 -5.803791600491538 treat image : temp/1758629846_3311443_1385693676_0794dbb8120204ca6ca223ffdb281e5a.jpg resize: (1080, 1632) 1385693676 -5.562963088968727 treat image : temp/1758629846_3311443_1385693672_6c6328bd14a49d7d64304a7d1fea6210.jpg resize: (1080, 1632) 1385693672 -6.06391008602988 treat image : temp/1758629846_3311443_1385693669_dcdac762ed480c1c48bf8c629565e44d.jpg resize: (1080, 1632) 1385693669 -6.147315436552664 treat image : temp/1758629846_3311443_1385693665_4ed42840a89e4977ed0016cfd6ed35f1.jpg resize: (1080, 1632) 1385693665 -4.746340795680831 treat image : temp/1758629846_3311443_1385693663_8bf6219c34c3f9f8dd595a2575617856.jpg resize: (1080, 1632) 1385693663 -6.1763889468941 treat image : temp/1758629846_3311443_1385693662_1b7c27c227fd189a95641ea4dbcc4f1f.jpg resize: (1080, 1632) 1385693662 -6.080170762188193 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 : 14 time used for this insertion : 0.01201176643371582 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 0.013265609741210938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.014077425003051758 save missing photos in datou_result : time spend for datou_step_exec : 11.027487993240356 time spend to save output : 0.04381871223449707 total time spend for step 1 : 11.071306705474854 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 10.34user 2.93system 0:15.51elapsed 85%CPU (0avgtext+0avgdata 140544maxresident)k 464inputs+7368outputs (7major+202611minor)pagefaults 0swaps