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 : 1477237 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 : 1392>100 please execute split_portfolio.py -i 27016122 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3743408'] with mtr_portfolio_ids : ['27016122'] and first list_photo_ids : [] new path : /proc/1477237/ 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.605376958847046 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 Fri Sep 19 07:02:31 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/1758258148_1477237_1385003737_8b9b3b26dcedcc75486b328f5024d27d.jpg resize: (1080, 1632) 1385003737 -5.335927853269682 treat image : temp/1758258148_1477237_1385003712_23cbdf0fd3179ea7cec1a5745987ab3d.jpg resize: (1080, 1632) 1385003712 -4.844349248196263 treat image : temp/1758258148_1477237_1385003686_077a06e6d96a96a162bb92a0697ecdb6.jpg resize: (1080, 1632) 1385003686 -4.087575198788034 treat image : temp/1758258148_1477237_1385003440_e84b4fd64476f1589132dff7d21eceae.jpg resize: (1080, 1632) 1385003440 -4.5111469015380585 treat image : temp/1758258148_1477237_1385003401_e9b1a5fa9f88302c6f7d2c58deec2b98.jpg resize: (1080, 1632) 1385003401 -4.488791438752408 treat image : temp/1758258148_1477237_1385003367_c2c261f6196d6b69f7b6602b92de71ec.jpg resize: (1080, 1632) 1385003367 -3.0539065124286937 treat image : temp/1758258148_1477237_1385003343_8ed8bac33f86dc3d11779ed6e7881795.jpg resize: (1080, 1632) 1385003343 -5.201339073333218 treat image : temp/1758258148_1477237_1385003315_a1875b8aa0e0bff439ad4c2fd0f72f10.jpg resize: (1080, 1632) 1385003315 -4.075300062158588 treat image : temp/1758258148_1477237_1385003290_ef56b5db0458a5ac9276bf5567129a56.jpg resize: (1080, 1632) 1385003290 -4.7829774620563645 treat image : temp/1758258148_1477237_1385003171_5166bd5f33f2f27eae92c9344a8478c1.jpg resize: (1080, 1632) 1385003171 -0.414789776538211 treat image : temp/1758258148_1477237_1385003162_9eafacf6f15ed1eea593b3d6b3f5965e.jpg resize: (1080, 1632) 1385003162 -0.414789776538211 treat image : temp/1758258148_1477237_1385003138_f988dd20ae26cea5d60cf7441af05496.jpg resize: (1080, 1632) 1385003138 -4.458247212409689 treat image : temp/1758258148_1477237_1385003135_9873a4060f8d2f666e841436417ac0ea.jpg resize: (1080, 1632) 1385003135 -4.458247212409689 treat image : temp/1758258148_1477237_1385003113_284a8591ecd353d2d44222f2e6a00e8d.jpg resize: (1080, 1632) 1385003113 -4.323906463122615 treat image : temp/1758258148_1477237_1385003109_25f43936c0cb0e98edac9008cf1b1d1b.jpg resize: (1080, 1632) 1385003109 -4.323906463122615 treat image : temp/1758258148_1477237_1385003088_788e79cbf2afcd3e00a82299b5bcd78b.jpg resize: (1080, 1632) 1385003088 -6.098965086891636 treat image : temp/1758258148_1477237_1385003084_78e6bd6494945714b021d081a807ab90.jpg resize: (1080, 1632) 1385003084 -6.098965086891636 treat image : temp/1758258148_1477237_1385003061_059ada84164d1b55eb5c1b528d09d1eb.jpg resize: (1080, 1632) 1385003061 -5.3261416318383885 treat image : temp/1758258148_1477237_1385003060_41aa1a59b01ef4d5675df5b6d128b645.jpg resize: (1080, 1632) 1385003060 -5.3261416318383885 treat image : temp/1758258148_1477237_1385002953_876b3079e14cdb7aa0a0bb96b76235c3.jpg resize: (1080, 1632) 1385002953 -5.613393493479294 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.015726089477539062 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.014904022216796875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02101421356201172 save missing photos in datou_result : time spend for datou_step_exec : 14.131903171539307 time spend to save output : 0.05637621879577637 total time spend for step 1 : 14.188279390335083 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.36user 2.92system 0:19.57elapsed 83%CPU (0avgtext+0avgdata 139908maxresident)k 56inputs+9240outputs (6major+266691minor)pagefaults 0swaps