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 : 873132 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 : 2967>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/873132/ 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.275841236114502 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 Fri Feb 7 20:02: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/1738954949_873132_1335591494_5880741d9508a19453ea1fb969b3c079.jpg resize: (1080, 1632) 1335591494 -3.4402656168443886 treat image : temp/1738954949_873132_1335591423_5cc6dcac136594461cab89449cd6a7d0.jpg resize: (1080, 1632) 1335591423 -2.5503664394605496 treat image : temp/1738954949_873132_1335591328_dc262da76a3043168c6226b40745c172.jpg resize: (1080, 1632) 1335591328 -4.085253058765481 treat image : temp/1738954949_873132_1335591279_1c5e2a6bb84448050085f07fbc1f0bc2.jpg resize: (1080, 1632) 1335591279 -3.791492103998265 treat image : temp/1738954949_873132_1335591179_348f97ccabe7be9153422cb978392f0c.jpg resize: (1080, 1632) 1335591179 -5.963464384636574 treat image : temp/1738954949_873132_1335591174_77a3145b51424d70bd5f0c0a055857b5.jpg resize: (1080, 1632) 1335591174 -5.382253892868062 treat image : temp/1738954949_873132_1335591170_4b4b188fbca24f105128c47b094141e9.jpg resize: (1080, 1632) 1335591170 -5.52611208106049 treat image : temp/1738954949_873132_1335591165_5df3afcf73d0b2dabf1349b5a4461ff5.jpg resize: (1080, 1632) 1335591165 -5.568633199620591 treat image : temp/1738954949_873132_1335591162_ba293caf4fdff51ddf00401bcf1278a3.jpg resize: (1080, 1632) 1335591162 -5.711185737028179 treat image : temp/1738954949_873132_1335591152_e6d391136f32e4ffcb9af9ac06d8979e.jpg resize: (1080, 1632) 1335591152 -3.9575727051146505 treat image : temp/1738954949_873132_1335591147_1a395608d044b83dee103e5041a888c7.jpg resize: (1080, 1632) 1335591147 -5.708840608084903 treat image : temp/1738954949_873132_1335591141_3b5b242d4967de12f01a91f8b3bb1469.jpg resize: (1080, 1632) 1335591141 -5.658104851191507 treat image : temp/1738954949_873132_1335591137_6cb62395aebc5e99db73b1aa65ee8a35.jpg resize: (1080, 1632) 1335591137 -4.007674016825424 treat image : temp/1738954949_873132_1335591131_5acb40d4508bc0dcef6e2c4c655ceb7c.jpg resize: (1080, 1632) 1335591131 -6.0783297581811855 treat image : temp/1738954949_873132_1335591120_cae34f1c192a3b33f1c4126cf8c8b4f1.jpg resize: (1080, 1632) 1335591120 -4.842763817791106 treat image : temp/1738954949_873132_1335589873_d5e3b8d8e5bab918f9cec6eb118cee5c.jpg resize: (1080, 1632) 1335589873 -5.292721876280099 treat image : temp/1738954949_873132_1335589871_34eb6ece8671a56dbfec60174afa1b4c.jpg resize: (1080, 1632) 1335589871 -5.857316099349935 treat image : temp/1738954949_873132_1335589869_bb38d272d153a78316779d33f6ec3d65.jpg resize: (1080, 1632) 1335589869 -2.3658648263438593 treat image : temp/1738954949_873132_1335589868_bc59bed843f72f75ec74cada7e5b5edc.jpg resize: (1080, 1632) 1335589868 -2.8127884567877968 treat image : temp/1738954949_873132_1335589844_62a59b556e026206b3fceb04b3a1d66c.jpg resize: (1080, 1632) 1335589844 -5.868722883214628 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.015065670013427734 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.15779519081115723 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017955780029296875 save missing photos in datou_result : time spend for datou_step_exec : 14.815244913101196 time spend to save output : 0.19793248176574707 total time spend for step 1 : 15.013177394866943 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.83user 2.77system 0:21.44elapsed 82%CPU (0avgtext+0avgdata 138136maxresident)k 0inputs+9920outputs (2major+168607minor)pagefaults 0swaps