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 : 437374 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/437374/ 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.14402174949646 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 Mar 26 01:42:32 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/1742949749_437374_1333404947_8fa61166a7db6ca56853c490e6471607.jpg resize: (1080, 1632) 1333404947 -0.18798413273816558 treat image : temp/1742949749_437374_1333404943_eb43836e411190967a08a1f07d6682fd.jpg resize: (1080, 1632) 1333404943 2.5739890574097974 treat image : temp/1742949749_437374_1333404940_a2e9022cb321672a411b6887eaf8d3c9.jpg resize: (1080, 1632) 1333404940 4.08571335211148 treat image : temp/1742949749_437374_1333404701_967d1517f19049af1d948ef27918e4c2.jpg resize: (1080, 1632) 1333404701 6.106846082519443 treat image : temp/1742949749_437374_1333404697_16a427fe6ea50e6b6d47d31674d670ec.jpg resize: (1080, 1632) 1333404697 3.198790349686826 treat image : temp/1742949749_437374_1333404692_ead63f351a6515d739b6611464694139.jpg resize: (1080, 1632) 1333404692 4.634261688940474 treat image : temp/1742949749_437374_1333404687_59f6257d775204fd47357d14ea79e3a7.jpg resize: (1080, 1632) 1333404687 5.272125736837311 treat image : temp/1742949749_437374_1333404682_2b1e82bc3417faa6df9aa05a22dee53a.jpg resize: (1080, 1632) 1333404682 6.063178471866297 treat image : temp/1742949749_437374_1333404624_04874db4ea4925bb2459a3184570df2f.jpg resize: (1080, 1632) 1333404624 6.583460881684296 treat image : temp/1742949749_437374_1333404604_733b92ed7c1e0a3ebfc440a2b6843810.jpg resize: (1080, 1632) 1333404604 6.363881877791091 treat image : temp/1742949749_437374_1333404598_b1db00692cda527f371795b22ea5ceed.jpg resize: (1080, 1632) 1333404598 5.065871963964211 treat image : temp/1742949749_437374_1333404591_37f1a75c29a8dc41bffcaaecd5a9ac99.jpg resize: (1080, 1632) 1333404591 3.887949772946411 treat image : temp/1742949749_437374_1333404588_6f95e1326cf12609b1b7c91a4fe44bf8.jpg resize: (1080, 1632) 1333404588 4.22740063104559 treat image : temp/1742949749_437374_1333404584_e6c0b397d21e6d2fb5e3a9923d37df4b.jpg resize: (1080, 1632) 1333404584 1.1762870269878636 treat image : temp/1742949749_437374_1333404582_428e9cd950a9b73d1dec21ee60b6d2d9.jpg resize: (1080, 1632) 1333404582 -0.24224782126477915 treat image : temp/1742949749_437374_1333404497_35381f37cf20270324049aae315ebeb7.jpg resize: (1080, 1632) 1333404497 2.4402028388207286 treat image : temp/1742949749_437374_1333404395_63a65dcf9f42c684217973dc5ccec226.jpg resize: (1080, 1632) 1333404395 2.651812347158185 treat image : temp/1742949749_437374_1333404373_0691a2a640dc720a9b6f58438c6b3795.jpg resize: (1080, 1632) 1333404373 4.933077266909173 treat image : temp/1742949749_437374_1333404368_e92287b4028fb4de636061da1610da14.jpg resize: (1080, 1632) 1333404368 2.90984341478874 treat image : temp/1742949749_437374_1333404363_7f410d4ef59e3fd2810e473384eba71d.jpg resize: (1080, 1632) 1333404363 2.9595155158299304 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.014419794082641602 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.1570441722869873 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01490163803100586 save missing photos in datou_result : time spend for datou_step_exec : 15.270657300949097 time spend to save output : 0.19175982475280762 total time spend for step 1 : 15.462417125701904 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.83user 3.73system 0:22.67elapsed 77%CPU (0avgtext+0avgdata 139848maxresident)k 56inputs+2896outputs (15major+255907minor)pagefaults 0swaps