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 : 2640913 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 : 990>100 please execute split_portfolio.py -i 22024890 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2720883'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2640913/ 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.3058228492736816 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 Apr 15 11:07:30 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/1744708048_2640913_1349850630_7af35b23449983c87ff91f8dcb354bc0.jpg resize: (1080, 1632) 1349850630 -5.948381751968216 treat image : temp/1744708048_2640913_1349850583_549db245b994063df4e510a435071124.jpg resize: (1080, 1632) 1349850583 -5.743261323810009 treat image : temp/1744708048_2640913_1349850510_e0aa6b099913224c61f64c4dd825e385.jpg resize: (1080, 1632) 1349850510 -5.735862224105927 treat image : temp/1744708048_2640913_1349850406_13f0e5d8ab22716822e93131f36417b2.jpg resize: (1080, 1632) 1349850406 -6.05334211846234 treat image : temp/1744708048_2640913_1349850381_1e35a6a8497a0b58c33e4e719ce72729.jpg resize: (1080, 1632) 1349850381 -6.005791197358891 treat image : temp/1744708048_2640913_1349850355_08e42597ed2dc44f468284a7b49644b5.jpg resize: (1080, 1632) 1349850355 -5.161376756620459 treat image : temp/1744708048_2640913_1349850159_982106246b8b7a4cdd990846638eaafe.jpg resize: (1080, 1632) 1349850159 -5.43851450379577 treat image : temp/1744708048_2640913_1349850151_27ff389153c7ab623bda99caf3924103.jpg resize: (1080, 1632) 1349850151 -6.224637801572759 treat image : temp/1744708048_2640913_1349850147_04fa9158e2cc61ddca2a4c1ec4b632eb.jpg resize: (1080, 1632) 1349850147 -6.253821189559767 treat image : temp/1744708048_2640913_1349850142_b6f91962a82c36434eba6e71a48ba93f.jpg resize: (1080, 1632) 1349850142 -1.8448591408265167 treat image : temp/1744708048_2640913_1349850137_d1e5b26ac18cc4e24d4d6e512d32b31a.jpg resize: (1080, 1632) 1349850137 -3.3235384561125136 treat image : temp/1744708048_2640913_1349850132_c5d272ecdb7368fbee5f3c5e00e87e6a.jpg resize: (1080, 1632) 1349850132 -5.385300037802061 treat image : temp/1744708048_2640913_1349849702_5570aefda27cf1ecc1aec5f7be9665fa.jpg resize: (1080, 1632) 1349849702 -3.3038154686810293 treat image : temp/1744708048_2640913_1349849663_5bdbdcbaade1e36d2d6edd8edc134237.jpg resize: (1080, 1632) 1349849663 -4.681049269653131 treat image : temp/1744708048_2640913_1349849618_bf61efa69d8c255b41ca2964e4a90bf0.jpg resize: (1080, 1632) 1349849618 -3.8450706212048913 treat image : temp/1744708048_2640913_1349849589_217573e57fa07b2f158dbf0e8d1ee8dc.jpg resize: (1080, 1632) 1349849589 -4.046800168544308 treat image : temp/1744708048_2640913_1349849515_59d7bede188917d3814f9970cbd5bdd4.jpg resize: (1080, 1632) 1349849515 -4.515741735272395 treat image : temp/1744708048_2640913_1349849477_ffe151643a9e8c13423a3215296dbacb.jpg resize: (1080, 1632) 1349849477 -5.765085454425876 treat image : temp/1744708048_2640913_1349849436_c982599e4bd44b3e5b0e6911176ba222.jpg resize: (1080, 1632) 1349849436 -5.397981174812856 treat image : temp/1744708048_2640913_1349849425_b99bf63281af5ccb4eb3c0db4d8f6edd.jpg resize: (1080, 1632) 1349849425 -6.124312993123288 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.013083696365356445 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.012670278549194336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013856649398803711 save missing photos in datou_result : time spend for datou_step_exec : 15.685942888259888 time spend to save output : 0.04478812217712402 total time spend for step 1 : 15.730731010437012 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 3.66system 0:21.92elapsed 83%CPU (0avgtext+0avgdata 141700maxresident)k 136inputs+10544outputs (12major+258329minor)pagefaults 0swaps