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 : 1996844 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1996844/ 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 : 8.326686382293701 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 Wed Apr 9 16:57:34 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/1744210646_1996844_1350660091_5a8c8715822d642bbd9d1023c16afdd0.jpg resize: (1080, 1632) 1350660091 -5.711817294097787 treat image : temp/1744210646_1996844_1350660086_f54f6ac9c44d4f9a859a972349ffc0d7.jpg resize: (1080, 1632) 1350660086 -6.230828684765995 treat image : temp/1744210646_1996844_1350660080_9dec6fd847197504bfc4615e765727de.jpg resize: (1080, 1632) 1350660080 -6.037113546504508 treat image : temp/1744210646_1996844_1350660077_2a149beae259006a2f8d13af0348024b.jpg resize: (1080, 1632) 1350660077 -4.8814500409962625 treat image : temp/1744210646_1996844_1350660073_b931ad1e2148b32664938bed4bfd92c6.jpg resize: (1080, 1632) 1350660073 -5.881324537627482 treat image : temp/1744210646_1996844_1350660068_adeb01b288c65ce416417ba83c78dcd2.jpg resize: (1080, 1632) 1350660068 -5.973534970983708 treat image : temp/1744210646_1996844_1350660030_d061e0074f886786ce20a6581459c547.jpg resize: (1080, 1632) 1350660030 -5.282171670143176 treat image : temp/1744210646_1996844_1350660025_d57f22e02b0b3dcc782f63e5aa1d9310.jpg resize: (1080, 1632) 1350660025 -0.34411629530464327 treat image : temp/1744210646_1996844_1350660021_fc9c6e94d47104615af89809a7cd7edd.jpg resize: (1080, 1632) 1350660021 -1.861523247735551 treat image : temp/1744210646_1996844_1350660018_b2d3bea6b7fd4f45d4a132927afdb5d5.jpg resize: (1080, 1632) 1350660018 -1.479198240090376 treat image : temp/1744210646_1996844_1350659996_270f45f91cdf27d1a7b197971e1bbfb0.jpg resize: (1080, 1632) 1350659996 -5.904275466816514 treat image : temp/1744210646_1996844_1350659991_83075b688877e8bb9b72abc58bd7622d.jpg resize: (1080, 1632) 1350659991 -5.995518387955116 treat image : temp/1744210646_1996844_1350659982_e596e7063c5d16860e48404bef723ed9.jpg resize: (1080, 1632) 1350659982 -6.071228721463879 treat image : temp/1744210646_1996844_1350659977_207eedaabf94fad78175d06ca46a3dbc.jpg resize: (1080, 1632) 1350659977 -5.659946917275956 treat image : temp/1744210646_1996844_1350659972_f0fd4953a327cfb2ef9c69b5e0adbca4.jpg resize: (1080, 1632) 1350659972 -5.826135587946161 treat image : temp/1744210646_1996844_1350659948_3141b02b2e987f6d3310950e5a8733e7.jpg resize: (1080, 1632) 1350659948 -5.890499483561009 treat image : temp/1744210646_1996844_1350659940_6a4c6fdc499e896f746599f6bdad83b0.jpg resize: (1080, 1632) 1350659940 -5.3209110767575325 treat image : temp/1744210646_1996844_1350659934_53fbbcdd84c5bb45dbfccee1202fc75e.jpg resize: (1080, 1632) 1350659934 -5.226924438864206 treat image : temp/1744210646_1996844_1350659930_126f835aa41b4e78fe595f6b0afca99e.jpg resize: (1080, 1632) 1350659930 -4.254102398470223 treat image : temp/1744210646_1996844_1350659927_430716c74a346b7c791d7bc9a3dc2937.jpg resize: (1080, 1632) 1350659927 -5.232800018167474 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.013703346252441406 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.012009859085083008 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014944076538085938 save missing photos in datou_result : time spend for datou_step_exec : 16.105652809143066 time spend to save output : 0.045946598052978516 total time spend for step 1 : 16.151599407196045 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.37user 3.70system 0:26.53elapsed 71%CPU (0avgtext+0avgdata 137572maxresident)k 3464inputs+10432outputs (41major+252272minor)pagefaults 0swaps