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 : 1983002 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 : 895>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1983002/ 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.395881175994873 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 May 22 08:37: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/1747895849_1983002_1360447031_51cf7128e7db22ce4e8afc3495fbe5bd.jpg resize: (1080, 1632) 1360447031 -4.939587119917659 treat image : temp/1747895849_1983002_1360447027_fddc7a7c29094e32c11c4f901ecfc2c2.jpg resize: (1080, 1632) 1360447027 -5.412502502636107 treat image : temp/1747895849_1983002_1360447024_45b88d9ce387c19757948e6c13e0844a.jpg resize: (1080, 1632) 1360447024 -1.3171318175974478 treat image : temp/1747895849_1983002_1360446888_c94447f92b657bbc1cd61689601d5b88.jpg resize: (1080, 1632) 1360446888 -4.964776464576889 treat image : temp/1747895849_1983002_1360446885_da20c71c24677dd5f118ac9530458a03.jpg resize: (1080, 1632) 1360446885 -5.395271822861505 treat image : temp/1747895849_1983002_1360446882_b68cf342d03e1f1ebc7cb3cf62fab675.jpg resize: (1080, 1632) 1360446882 -5.137905871247409 treat image : temp/1747895849_1983002_1360446879_6a8078e293d534451d4787058427eabc.jpg resize: (1080, 1632) 1360446879 -5.839192574221035 treat image : temp/1747895849_1983002_1360446811_561207c89085e687540eca12d28fddb3.jpg resize: (1080, 1632) 1360446811 -5.0269527420657445 treat image : temp/1747895849_1983002_1360446789_05b0ba5c9b0593e915a86b56128228a3.jpg resize: (1080, 1632) 1360446789 -5.844938655688595 treat image : temp/1747895849_1983002_1360446786_a23bbbc4d9a8f3d565739a39d74cbaa9.jpg resize: (1080, 1632) 1360446786 -5.194015130935619 treat image : temp/1747895849_1983002_1360446722_32a62048351c4bfb019585a74c4d9bdb.jpg resize: (1080, 1632) 1360446722 -1.7210633556474593 treat image : temp/1747895849_1983002_1360446701_96e73790a9c735aeda85e11b8552be95.jpg resize: (1080, 1632) 1360446701 -3.3757526562946065 treat image : temp/1747895849_1983002_1360446696_69752fc0ac7738b0a0ac458428216e12.jpg resize: (1080, 1632) 1360446696 -5.59088762872654 treat image : temp/1747895849_1983002_1360446670_4a20492488b66346a18b87eb420398cf.jpg resize: (1080, 1632) 1360446670 -5.919095112843285 treat image : temp/1747895849_1983002_1360446598_f67c5e8a1b6c4591df04bc1111dca7fb.jpg resize: (1080, 1632) 1360446598 -5.85777443675321 treat image : temp/1747895849_1983002_1360446550_4097c0131b8d146f82021398238694b6.jpg resize: (1080, 1632) 1360446550 -5.863707126263077 treat image : temp/1747895849_1983002_1360446539_0834a1fe5464e72525bfd68d2d6f56f0.jpg resize: (1080, 1632) 1360446539 -6.1662805367578395 treat image : temp/1747895849_1983002_1360446512_7ce601b343dfed75037cf50aa07c2b65.jpg resize: (1080, 1632) 1360446512 -6.36279169217412 treat image : temp/1747895849_1983002_1360446410_0c3fa0c1e2403fe246f361e05a229fca.jpg resize: (1080, 1632) 1360446410 -5.257138160370175 treat image : temp/1747895849_1983002_1360446388_13b2b4c1169922dc92161afb35c2766d.jpg resize: (1080, 1632) 1360446388 -5.854546646825739 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.013762950897216797 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.06694936752319336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06782364845275879 save missing photos in datou_result : time spend for datou_step_exec : 18.450893878936768 time spend to save output : 0.1530303955078125 total time spend for step 1 : 18.60392427444458 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.09user 6.01system 0:24.90elapsed 84%CPU (0avgtext+0avgdata 137504maxresident)k 152inputs+10368outputs (1major+233523minor)pagefaults 0swaps