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 : 1029457 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 : 1461>100 please execute split_portfolio.py -i 20166663 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2538794'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/1029457/ 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.2589616775512695 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 Feb 3 18:12:28 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/1738602746_1029457_1334281027_de5b187c775649fb00cc4d51d8676a9a.jpg resize: (1080, 1632) 1334281027 -6.390544056168287 treat image : temp/1738602746_1029457_1334280999_c153e4296c29f969f0bd33454d62cfdb.jpg resize: (1080, 1632) 1334280999 -5.358866597569489 treat image : temp/1738602746_1029457_1334280996_b1609195146e1c950b92ef1da63ce89e.jpg resize: (1080, 1632) 1334280996 -2.29509082801925 treat image : temp/1738602746_1029457_1334280994_38742f732da2d801b67d6381a7b053c5.jpg resize: (1080, 1632) 1334280994 -3.7139301701550727 treat image : temp/1738602746_1029457_1334280978_68841cf185f148e23d46da17a97049cb.jpg resize: (1080, 1632) 1334280978 -6.454589457647178 treat image : temp/1738602746_1029457_1334280974_18fd5eb0d5ea68d07d6dc6cb67b2c512.jpg resize: (1080, 1632) 1334280974 -3.783444245340457 treat image : temp/1738602746_1029457_1334280970_7b156dd09b8d81f5d93c6245b78222b5.jpg resize: (1080, 1632) 1334280970 -6.238789203398608 treat image : temp/1738602746_1029457_1334280966_58cbc4dcc55771714b090b818b73b820.jpg resize: (1080, 1632) 1334280966 -4.544918857870283 treat image : temp/1738602746_1029457_1334280962_aa2828acf945cb264f209c75c4865bb3.jpg resize: (1080, 1632) 1334280962 -6.377007808609104 treat image : temp/1738602746_1029457_1334280953_48ce44cbfbf1d35328984828aa686a74.jpg resize: (1080, 1632) 1334280953 -6.428890310372961 treat image : temp/1738602746_1029457_1334280949_7422193c3c5341e78be7f59d1e5e211b.jpg resize: (1080, 1632) 1334280949 -6.3246654215551885 treat image : temp/1738602746_1029457_1334280946_191fe38d183d5721b9c3e628ea4faea4.jpg resize: (1080, 1632) 1334280946 -4.869465311157064 treat image : temp/1738602746_1029457_1334280942_21100acd3516ef1556d1d1a2e63b99a9.jpg resize: (1080, 1632) 1334280942 -5.251116897521496 treat image : temp/1738602746_1029457_1334280937_933a86739523de4beaa8bec2f6c31cd0.jpg resize: (1080, 1632) 1334280937 -5.820690800327856 treat image : temp/1738602746_1029457_1334280934_91fb3ffa513f8b92668f8b033b57f57f.jpg resize: (1080, 1632) 1334280934 -6.0575030084821995 treat image : temp/1738602746_1029457_1334280874_2069e0df498179565e714641cd23c88c.jpg resize: (1080, 1632) 1334280874 -2.3724036767526866 treat image : temp/1738602746_1029457_1334280872_6513bfd6e185a65b37e054d2b787b507.jpg resize: (1080, 1632) 1334280872 -4.478066237475995 treat image : temp/1738602746_1029457_1334280870_40050ad2e94889654c625271f30996ab.jpg resize: (1080, 1632) 1334280870 -3.024102842573253 treat image : temp/1738602746_1029457_1334280864_19176a0d8bc8c060ec8a67ed566c68e0.jpg resize: (1080, 1632) 1334280864 -6.208732947360803 treat image : temp/1738602746_1029457_1334280859_6eb15389fd9114c9a6b02b27fc395dea.jpg resize: (1080, 1632) 1334280859 -5.638334474317701 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.013539552688598633 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.011965274810791016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014978170394897461 save missing photos in datou_result : time spend for datou_step_exec : 16.116761207580566 time spend to save output : 0.06331896781921387 total time spend for step 1 : 16.18008017539978 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.11user 4.63system 0:20.67elapsed 90%CPU (0avgtext+0avgdata 141108maxresident)k 14640inputs+10968outputs (77major+251769minor)pagefaults 0swaps