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 : 974423 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/974423/ 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 : 3.5790493488311768 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 Sun Apr 6 20:17:33 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/1743963450_974423_1350143921_655479afb69a97509135a61a6d873690.jpg resize: (1080, 1632) 1350143921 -6.633331851040299 treat image : temp/1743963450_974423_1350143917_8f03896430eeec4c2e2b8ce8cfce44fa.jpg resize: (1080, 1632) 1350143917 -3.408316456467307 treat image : temp/1743963450_974423_1350143911_a8108c927cb9a5db238396913b0393c6.jpg resize: (1080, 1632) 1350143911 -6.247422508560223 treat image : temp/1743963450_974423_1350143905_d0555e8f6f87dca366a36b04baf6c671.jpg resize: (1080, 1632) 1350143905 -5.797300222598526 treat image : temp/1743963450_974423_1350143900_d54d7f9353945f9489b22bbe279c2089.jpg resize: (1080, 1632) 1350143900 -6.060622214706534 treat image : temp/1743963450_974423_1350143858_716c885f6ef974d6b5b927972025ad25.jpg resize: (1080, 1632) 1350143858 -1.2110516705399486 treat image : temp/1743963450_974423_1350143855_67b58586c74ad4200cec658c702122cd.jpg resize: (1080, 1632) 1350143855 -1.905717871794122 treat image : temp/1743963450_974423_1350143854_6f28d3c8e6100bebb9a4139bf305fa2b.jpg resize: (1080, 1632) 1350143854 -1.0351834155112898 treat image : temp/1743963450_974423_1350143816_e6a2211b4106dab836129fa2b2b10608.jpg resize: (1080, 1632) 1350143816 -5.439989944798241 treat image : temp/1743963450_974423_1350143812_2f82c62a0014ff5b80e5d6c780a18c1d.jpg resize: (1080, 1632) 1350143812 -5.985802514384619 treat image : temp/1743963450_974423_1350143807_f8cbadcc6817355290996d3e13d09e83.jpg resize: (1080, 1632) 1350143807 -5.8764155049610345 treat image : temp/1743963450_974423_1350143803_4ab5200d5f2b8516db1b08bb8f390ad4.jpg resize: (1080, 1632) 1350143803 -6.003069284646964 treat image : temp/1743963450_974423_1350143767_676c33f32ffd992724736294d528ca0c.jpg resize: (1080, 1632) 1350143767 -5.003010336863156 treat image : temp/1743963450_974423_1350143763_c4dee593786c11edc48d1178c980bdc7.jpg resize: (1080, 1632) 1350143763 -5.8353575163435965 treat image : temp/1743963450_974423_1350143760_ccd3e52b2cece8a6c0f9cfb4eb9188e8.jpg resize: (1080, 1632) 1350143760 -6.229038327178425 treat image : temp/1743963450_974423_1350143757_5edcbe3c1a4000ec5e7e5d50ddcd4089.jpg resize: (1080, 1632) 1350143757 -5.006707605745319 treat image : temp/1743963450_974423_1350143756_bbcfdddf90cab5bb66ecd5565f1e42a3.jpg resize: (1080, 1632) 1350143756 -6.03191741302041 treat image : temp/1743963450_974423_1350143722_0b0c05b814eb7f19d2a2a4fced23b73b.jpg resize: (1080, 1632) 1350143722 -1.3365875228105948 treat image : temp/1743963450_974423_1350143719_b492bd541a1447f60ae0cf9bd24f99d2.jpg resize: (1080, 1632) 1350143719 -2.6256030228920664 treat image : temp/1743963450_974423_1350143716_71af5b90573a0d73f1e138ed2fbf7ae6.jpg resize: (1080, 1632) 1350143716 -6.180047431227887 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.012584686279296875 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.011759042739868164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015394210815429688 save missing photos in datou_result : time spend for datou_step_exec : 16.306576251983643 time spend to save output : 0.044771432876586914 total time spend for step 1 : 16.35134768486023 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 4.06system 0:24.17elapsed 77%CPU (0avgtext+0avgdata 144224maxresident)k 128inputs+10352outputs (16major+260838minor)pagefaults 0swaps