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 : 3573069 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 : 2538>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3573069/ 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.2675719261169434 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 May 21 17:12: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/1747840348_3573069_1360071034_226e0ed1839535822a8c0b3a98efcd41.jpg resize: (1080, 1632) 1360071034 -3.5431985002509907 treat image : temp/1747840348_3573069_1360070840_10e62be17586bfb90aab6cb1aa481e99.jpg resize: (1080, 1632) 1360070840 -5.8934427193427394 treat image : temp/1747840348_3573069_1360070814_bf26a48e014699d3a7c4a0bddd63bace.jpg resize: (1080, 1632) 1360070814 -3.8728599492858757 treat image : temp/1747840348_3573069_1360070782_c969bc047fce1952ccd49e1a3f5344e0.jpg resize: (1080, 1632) 1360070782 -5.683223817776564 treat image : temp/1747840348_3573069_1360070742_c3afb239af5b4b9bc547cc272128c6fd.jpg resize: (1080, 1632) 1360070742 -2.9958993538665726 treat image : temp/1747840348_3573069_1360070688_8ba9a2b3169c19f09ae25ada27a23600.jpg resize: (1080, 1632) 1360070688 -4.549551101518669 treat image : temp/1747840348_3573069_1360070637_95796184caa48fca76469c9de88ddafb.jpg resize: (1080, 1632) 1360070637 -5.970762237047867 treat image : temp/1747840348_3573069_1360069942_e0aca4a8ebf5ad65d596b4d210edb037.jpg resize: (1080, 1632) 1360069942 -1.804410228633067 treat image : temp/1747840348_3573069_1360069890_b105bb4b3474c82875533f71cb4cc432.jpg resize: (1080, 1632) 1360069890 -2.88486282487007 treat image : temp/1747840348_3573069_1360069836_03a494088d6ddbce1a75362a5c5013b6.jpg resize: (1080, 1632) 1360069836 -1.1991693776328545 treat image : temp/1747840348_3573069_1360069785_f9ad6c4cc5e6f523bbb4fcd92d464f93.jpg resize: (1080, 1632) 1360069785 -4.653177961563887 treat image : temp/1747840348_3573069_1360069735_4bfc614af15c6aa4194eb59cc230fc5f.jpg resize: (1080, 1632) 1360069735 -5.648368578893018 treat image : temp/1747840348_3573069_1360069506_3b32226190206b288f2108a1a44626ab.jpg resize: (1080, 1632) 1360069506 -4.798424499470773 treat image : temp/1747840348_3573069_1360069505_60a7d52e00e45f9eee8763d490153f23.jpg resize: (1080, 1632) 1360069505 -4.589876812499809 treat image : temp/1747840348_3573069_1360069484_123e68bb6dd4550d1bc9d04eb17ac4a4.jpg resize: (1080, 1632) 1360069484 -2.9236921969834637 treat image : temp/1747840348_3573069_1360069455_8f42210f8c95155bd7c3dd7d2c48e6bf.jpg resize: (1080, 1632) 1360069455 -4.34089132892098 treat image : temp/1747840348_3573069_1360069429_121c41371e2cb6a5967cfd7819d012ac.jpg resize: (1080, 1632) 1360069429 -3.4473481495660767 treat image : temp/1747840348_3573069_1360069398_83fcf33e74ad1587ffc9b7ba3dbb6cdd.jpg resize: (1080, 1632) 1360069398 -0.3724766185386006 treat image : temp/1747840348_3573069_1360069218_67cf44ad5fcc7e9f02dc22a18803ef23.jpg resize: (1080, 1632) 1360069218 -1.4367813000311855 treat image : temp/1747840348_3573069_1360069182_31df0f759cd18bc517b35c80c258deb6.jpg resize: (1080, 1632) 1360069182 -2.4016484206671453 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.01367044448852539 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.014045953750610352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014871358871459961 save missing photos in datou_result : time spend for datou_step_exec : 18.490776538848877 time spend to save output : 0.047231197357177734 total time spend for step 1 : 18.538007736206055 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 6.48system 0:25.06elapsed 85%CPU (0avgtext+0avgdata 138200maxresident)k 752inputs+8608outputs (43major+259183minor)pagefaults 0swaps