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 : 1889598 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 : 4132>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1889598/ 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 : 4.058352470397949 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 Thu Feb 6 02:42:33 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/1738806149_1889598_1335076351_0329294e6b8d72ed134e534fd28a8ab9.jpg resize: (1080, 1632) 1335076351 -5.37634283371192 treat image : temp/1738806149_1889598_1335076348_37fb767eb9ee0a4c4c26a677af8d15d3.jpg resize: (1080, 1632) 1335076348 -6.3752164194094805 treat image : temp/1738806149_1889598_1335076344_6462ae7e949814cd190603c8d7eebd5c.jpg resize: (1080, 1632) 1335076344 -6.115400237955622 treat image : temp/1738806149_1889598_1335076340_5876806e8cfbd0e5cc4189f6ac52a703.jpg resize: (1080, 1632) 1335076340 -5.875993142742395 treat image : temp/1738806149_1889598_1335076330_e84b7de437bd4ab0f19c6f0bc30c1218.jpg resize: (1080, 1632) 1335076330 -4.772767482607356 treat image : temp/1738806149_1889598_1335076328_7146e689ae278895b0917f173056d175.jpg resize: (1080, 1632) 1335076328 -5.477083981511285 treat image : temp/1738806149_1889598_1335076327_43ce2905fb77a2e7e616f11765031ca2.jpg resize: (1080, 1632) 1335076327 -4.772767482607356 treat image : temp/1738806149_1889598_1335076325_ec509a6c487d029ea42a11b22b5e8218.jpg resize: (1080, 1632) 1335076325 -5.477083981511285 treat image : temp/1738806149_1889598_1335076324_ab95ac8edbe16d794ba035208dde01c4.jpg resize: (1080, 1632) 1335076324 -3.2827660573435953 treat image : temp/1738806149_1889598_1335076322_a52894c7e5f2c286428b9be94971666a.jpg resize: (1080, 1632) 1335076322 -3.2827660573435953 treat image : temp/1738806149_1889598_1335076321_88487c4dd98730ba645f36705923d762.jpg resize: (1080, 1632) 1335076321 -5.454829107244357 treat image : temp/1738806149_1889598_1335076319_69d82245ed57975e4016e168ddfa20a0.jpg resize: (1080, 1632) 1335076319 -5.454829107244357 treat image : temp/1738806149_1889598_1335076318_89fb881c662e4d7eb9bd790be5fe8c3a.jpg resize: (1080, 1632) 1335076318 -5.7173809893335665 treat image : temp/1738806149_1889598_1335076316_f7ffebbba6723bf393449554e8273237.jpg resize: (1080, 1632) 1335076316 -5.7173809893335665 treat image : temp/1738806149_1889598_1335076314_f5f60a70c5a599003df4bc635023f76e.jpg resize: (1080, 1632) 1335076314 -3.2840823866888353 treat image : temp/1738806149_1889598_1335076313_3f096ac0035b742aa04f1ef0f598612e.jpg resize: (1080, 1632) 1335076313 -3.2840823866888353 treat image : temp/1738806149_1889598_1335038915_05eb9b1197ab549ac580fccc8003bcbc.jpg resize: (1080, 1632) 1335038915 -2.5587404860834346 treat image : temp/1738806149_1889598_1335038911_ce37fee323e2f19b916d85fb7bca43aa.jpg resize: (1080, 1632) 1335038911 -2.6436876077798055 treat image : temp/1738806149_1889598_1335038902_5d3988af98bdd858dc54e0c31b33060e.jpg resize: (1080, 1632) 1335038902 -4.826782731146491 treat image : temp/1738806149_1889598_1335038870_a880bfd586e3aa52e138257b0940f2ca.jpg resize: (1080, 1632) 1335038870 -5.396546760637696 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.018697261810302734 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.018080472946166992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017696380615234375 save missing photos in datou_result : time spend for datou_step_exec : 13.525230646133423 time spend to save output : 0.05951833724975586 total time spend for step 1 : 13.584748983383179 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.58user 1.37system 0:22.13elapsed 72%CPU (0avgtext+0avgdata 140316maxresident)k 992inputs+10328outputs (15major+115120minor)pagefaults 0swaps