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 : 528175 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 : 9052>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/528175/ 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.1375725269317627 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 Sat Jul 5 20:32: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/1751740348_528175_1370828772_5aafc8e1f2d486abaad70e504db92486.jpg resize: (1080, 1632) 1370828772 -3.500849277506812 treat image : temp/1751740348_528175_1370828770_543a48c83195bc341c0009e9ab8e8a55.jpg resize: (1080, 1632) 1370828770 -5.022793296130701 treat image : temp/1751740348_528175_1370828768_816505617ba6b30fde74ccb90be0f48c.jpg resize: (1080, 1632) 1370828768 -4.240150544823362 treat image : temp/1751740348_528175_1370828767_cfcbc6cf1b27c105cb0ec81e39ce211a.jpg resize: (1080, 1632) 1370828767 -1.2613348789817938 treat image : temp/1751740348_528175_1370828766_1249d784fb6c29a9931a5ee7e1a0ef2e.jpg resize: (1080, 1632) 1370828766 -2.5682946999242144 treat image : temp/1751740348_528175_1370828762_47b5c8d507b7200bf449aaf1a1bf6d9a.jpg resize: (1080, 1632) 1370828762 -2.5326263641166866 treat image : temp/1751740348_528175_1370828754_222d4faf24f1f52a7539a4bc83d58fcc.jpg resize: (1080, 1632) 1370828754 -1.6787214316979395 treat image : temp/1751740348_528175_1370828752_f3b815595217d655fe7f190d4973af7b.jpg resize: (1080, 1632) 1370828752 -3.802440403923039 treat image : temp/1751740348_528175_1370828750_a5358e3573435b0c8bff9ed27bad6c9e.jpg resize: (1080, 1632) 1370828750 -3.295131126119263 treat image : temp/1751740348_528175_1370828749_fe27aa79f63d19eb980129a2fc701ca5.jpg resize: (1080, 1632) 1370828749 -3.6330070968792954 treat image : temp/1751740348_528175_1370828748_2fe60822d68be4bf4c822d04c088cab2.jpg resize: (1080, 1632) 1370828748 -5.567800765378376 treat image : temp/1751740348_528175_1370828745_9b48f176279a38abca05ca0558a1c3cd.jpg resize: (1080, 1632) 1370828745 -3.9827374917440395 treat image : temp/1751740348_528175_1370828717_d27345202bb7f7dff2fd85e325192a73.jpg resize: (1080, 1632) 1370828717 -5.646676927839513 treat image : temp/1751740348_528175_1370828713_7c2715302c9276b788018582c7ba8b2a.jpg resize: (1080, 1632) 1370828713 -4.874636574804676 treat image : temp/1751740348_528175_1370828711_dd36ebc5dfccafced4b11fa5e0bd10c8.jpg resize: (1080, 1632) 1370828711 -4.932989740805332 treat image : temp/1751740348_528175_1370828710_f057bf2f32591d2fcad9de36adc24d01.jpg resize: (1080, 1632) 1370828710 -5.421619197881708 treat image : temp/1751740348_528175_1370828709_c3beda9f13c3b52e6a4b3b1909334d63.jpg resize: (1080, 1632) 1370828709 -5.772905520213918 treat image : temp/1751740348_528175_1370828706_f2dbe6f95b8a8e57efea83390ec4af5a.jpg resize: (1080, 1632) 1370828706 -5.537021110292725 treat image : temp/1751740348_528175_1370828619_4e28f394a7454fb9705c4f8a8982c32f.jpg resize: (1080, 1632) 1370828619 -5.074035950689504 treat image : temp/1751740348_528175_1370828606_1f48179622a415eaf1e1f7dce39fbaaa.jpg resize: (1080, 1632) 1370828606 -5.132130843743507 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.013747453689575195 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.011996746063232422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014997720718383789 save missing photos in datou_result : time spend for datou_step_exec : 14.294158697128296 time spend to save output : 0.0454556941986084 total time spend for step 1 : 14.339614391326904 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.29user 3.36system 0:19.54elapsed 85%CPU (0avgtext+0avgdata 137556maxresident)k 0inputs+8776outputs (9major+256225minor)pagefaults 0swaps