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 : 1093036 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 : 3807>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/1093036/ 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.170351982116699 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 Feb 5 22:07: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/1738789646_1093036_1335030436_afa53de87c612eb0070a9d3b65fb332d.jpg resize: (1080, 1632) 1335030436 -2.542868326184539 treat image : temp/1738789646_1093036_1335030432_d811f12f9c233784f521f5d4a0d3a102.jpg resize: (1080, 1632) 1335030432 -3.6663859032679134 treat image : temp/1738789646_1093036_1335030242_afd353e75f869528ff75ffafedd6174e.jpg resize: (1080, 1632) 1335030242 -5.4232681323392535 treat image : temp/1738789646_1093036_1335030238_8ee77102d70962a8c3af9976d1b8f770.jpg resize: (1080, 1632) 1335030238 -5.997746434166678 treat image : temp/1738789646_1093036_1335030235_923c0a39d5a6ea80317b2750b0e59890.jpg resize: (1080, 1632) 1335030235 -6.402018722149308 treat image : temp/1738789646_1093036_1335030231_4732ecbf84106dff76337bc7e40c2b52.jpg resize: (1080, 1632) 1335030231 -6.065458180464619 treat image : temp/1738789646_1093036_1335030227_c98aa6ac0eb8cddf2c15a67c4f6bcb64.jpg resize: (1080, 1632) 1335030227 -5.803329667240427 treat image : temp/1738789646_1093036_1335030153_ecf78b6d6e7231c0017f35e1cda61c21.jpg resize: (1080, 1632) 1335030153 -2.5970849048748796 treat image : temp/1738789646_1093036_1335030150_b3db6e057581ed0718815250e42522ab.jpg resize: (1080, 1632) 1335030150 -3.7067937655777383 treat image : temp/1738789646_1093036_1335030148_f2012b973f05cf27eb3298e92531efb6.jpg resize: (1080, 1632) 1335030148 -2.920122709792556 treat image : temp/1738789646_1093036_1335030145_81f250dda2edd4c5d9f86179ac77738b.jpg resize: (1080, 1632) 1335030145 -5.400442639416251 treat image : temp/1738789646_1093036_1335030141_74d4e6b1f979eeae7d54aa078aeb188b.jpg resize: (1080, 1632) 1335030141 -3.427292992322975 treat image : temp/1738789646_1093036_1335030137_63a1df812103f1ec69bb77188bbde5f7.jpg resize: (1080, 1632) 1335030137 -5.547726193550762 treat image : temp/1738789646_1093036_1335030115_d41768fe1f810c830054c38cf19c7ce8.jpg resize: (1080, 1632) 1335030115 -6.095051278122226 treat image : temp/1738789646_1093036_1335030113_a8192ee6ef846675930b2843f162625c.jpg resize: (1080, 1632) 1335030113 -5.91067902243948 treat image : temp/1738789646_1093036_1335030110_20476ea44c7a25619e3245ca621adb57.jpg resize: (1080, 1632) 1335030110 -4.733437700100274 treat image : temp/1738789646_1093036_1335030107_96cc1574c92862db0bb8587109e6b6e8.jpg resize: (1080, 1632) 1335030107 -5.2262754931323885 treat image : temp/1738789646_1093036_1335030105_dfcd8d1c9b762468302f9a53fdb44994.jpg resize: (1080, 1632) 1335030105 -0.8395772313743959 treat image : temp/1738789646_1093036_1335029956_49cbec836e1456885504651c458c65f1.jpg resize: (1080, 1632) 1335029956 -3.5173116874415062 treat image : temp/1738789646_1093036_1335029946_4054e8d6a89b51936cb90929fa2d1cd4.jpg resize: (1080, 1632) 1335029946 -7.21307440331838 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.013189315795898438 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.012078285217285156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015089273452758789 save missing photos in datou_result : time spend for datou_step_exec : 13.320261716842651 time spend to save output : 0.04561734199523926 total time spend for step 1 : 13.36587905883789 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 1.51system 0:17.98elapsed 87%CPU (0avgtext+0avgdata 140116maxresident)k 144inputs+10192outputs (6major+127668minor)pagefaults 0swaps