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 : 1158779 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 : 725>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1158779/ 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.1624464988708496 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 Mon May 12 07:52: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/1747029149_1158779_1357602661_5ef3a1d9b7a3b20a8237145a38df710d.jpg resize: (1080, 1632) 1357602661 -1.958984933270171 treat image : temp/1747029149_1158779_1357602652_6df98b108f4a976fa3011de90102d3e5.jpg resize: (1080, 1632) 1357602652 -1.7989615507678864 treat image : temp/1747029149_1158779_1357602647_0bfc8febf1fe6db1017fc4350285e83b.jpg resize: (1080, 1632) 1357602647 -2.578942787815338 treat image : temp/1747029149_1158779_1357602644_c3782e16d5d2849900648a01cc682e8f.jpg resize: (1080, 1632) 1357602644 -5.9280127017009 treat image : temp/1747029149_1158779_1357602642_08720a307d47fb33d280dee3a0df39df.jpg resize: (1080, 1632) 1357602642 -3.0236415776498107 treat image : temp/1747029149_1158779_1357602615_f9d1cc477fc9a9303dab79886b7fbc09.jpg resize: (1080, 1632) 1357602615 -5.576792672831846 treat image : temp/1747029149_1158779_1357602611_7f852296f32e41c4cea07863aab9d64d.jpg resize: (1080, 1632) 1357602611 -5.389565233696569 treat image : temp/1747029149_1158779_1357602609_29ade1c1e0bfaf49f25684f7c7737a04.jpg resize: (1080, 1632) 1357602609 -5.131440219955797 treat image : temp/1747029149_1158779_1357602608_a86a03533532b9d186a64d63b852788e.jpg resize: (1080, 1632) 1357602608 -5.30402543640862 treat image : temp/1747029149_1158779_1357602603_039491644d32160d2e43e75a52b25dd1.jpg resize: (1080, 1632) 1357602603 -1.1837648846626863 treat image : temp/1747029149_1158779_1357602573_67ee4f983ad5de2fadd154f37e3175b0.jpg resize: (1080, 1632) 1357602573 -5.355965999932752 treat image : temp/1747029149_1158779_1357602571_23f70b48f16725179553788b51bbd4a8.jpg resize: (1080, 1632) 1357602571 -4.720684010039024 treat image : temp/1747029149_1158779_1357602570_7f79bfed91e2d3b025a6d4f5e9fabb6b.jpg resize: (1080, 1632) 1357602570 -4.540986425169551 treat image : temp/1747029149_1158779_1357602567_291a332b3b674adea66c33b1caf08a59.jpg resize: (1080, 1632) 1357602567 -4.850147355821746 treat image : temp/1747029149_1158779_1357602565_6aab1860032a78610b419f714b94fb86.jpg resize: (1080, 1632) 1357602565 -5.786772354596651 treat image : temp/1747029149_1158779_1357602527_08251d898076f29aa2622df436bac574.jpg resize: (1080, 1632) 1357602527 -4.5604053297663825 treat image : temp/1747029149_1158779_1357602524_2481c97f6d2143d6089febee6ee1f8d0.jpg resize: (1080, 1632) 1357602524 -1.9958839770089847 treat image : temp/1747029149_1158779_1357602522_d7aa9da8ec3f215c40c63e12d271b01f.jpg resize: (1080, 1632) 1357602522 -4.359425027832116 treat image : temp/1747029149_1158779_1357602507_4a6fe2d179d0969e239f32200b753fc4.jpg resize: (1080, 1632) 1357602507 -4.510868014832904 treat image : temp/1747029149_1158779_1357602504_fed3770c13b71718bc974b3b6ad9d1b3.jpg resize: (1080, 1632) 1357602504 -5.415552368366864 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.01237940788269043 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.030145883560180664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.047715187072753906 save missing photos in datou_result : time spend for datou_step_exec : 18.466182947158813 time spend to save output : 0.09545087814331055 total time spend for step 1 : 18.561633825302124 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 6.78system 0:24.50elapsed 86%CPU (0avgtext+0avgdata 140080maxresident)k 248inputs+9016outputs (0major+260975minor)pagefaults 0swaps