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 : 1830549 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/1830549/ 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.2324986457824707 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: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/1738804346_1830549_1335078146_626b653496809a04a5c33f38b0331c41.jpg resize: (1080, 1632) 1335078146 -1.7200543705146911 treat image : temp/1738804346_1830549_1335078139_5206ac14bcbaabb6f2ceea52200cd99f.jpg resize: (1080, 1632) 1335078139 -2.1308289940548444 treat image : temp/1738804346_1830549_1335078116_8d0e37ba9abcf12348c5b32f0d86219e.jpg resize: (1080, 1632) 1335078116 -1.8887201634610304 treat image : temp/1738804346_1830549_1335078115_09a6abfe0ff0eb260cf7fa99b96abb57.jpg resize: (1080, 1632) 1335078115 -1.8887201634610304 treat image : temp/1738804346_1830549_1335078113_b794e690ee3d38c1d50e4aa724c0edc0.jpg resize: (1080, 1632) 1335078113 -3.2618891113029207 treat image : temp/1738804346_1830549_1335078112_d857a9740b6f8a2f451020884f7a2e0b.jpg resize: (1080, 1632) 1335078112 -3.2618891113029207 treat image : temp/1738804346_1830549_1335078111_f92d10c1a7b6a0e28a649dd88d4df02f.jpg resize: (1080, 1632) 1335078111 -4.151155726046552 treat image : temp/1738804346_1830549_1335078109_5d45ec6f705f2c4ee85579590ea14219.jpg resize: (1080, 1632) 1335078109 -4.151155726046552 treat image : temp/1738804346_1830549_1335078108_64aec32a3f9962da80a89acb132a7dc1.jpg resize: (1080, 1632) 1335078108 -5.0984221668472465 treat image : temp/1738804346_1830549_1335078082_6a2f30c688f65bae90f64a803f5b508a.jpg resize: (1080, 1632) 1335078082 -5.0984221668472465 treat image : temp/1738804346_1830549_1335078069_6d2b15b86dda34963654e307736cf44d.jpg resize: (1080, 1632) 1335078069 -4.278845396382746 treat image : temp/1738804346_1830549_1335078011_00a2dabf4c55e99620bc1b5f36e7340c.jpg resize: (1080, 1632) 1335078011 -4.278845396382746 treat image : temp/1738804346_1830549_1335077996_5c0ad7876d2ede90486de09ab63dccc0.jpg resize: (1080, 1632) 1335077996 -4.213952408615044 treat image : temp/1738804346_1830549_1335077994_8d32b821492956f43e99217c43c7047f.jpg resize: (1080, 1632) 1335077994 -4.213952408615044 treat image : temp/1738804346_1830549_1335077923_e1f09dba026b6bcc39a232a12bc5e19f.jpg resize: (1080, 1632) 1335077923 -4.72529343818447 treat image : temp/1738804346_1830549_1335077901_9ac06514d2e6fca64517c277233c4baf.jpg resize: (1080, 1632) 1335077901 -5.437935575704106 treat image : temp/1738804346_1830549_1335077786_37241a8661ddb47a1ffd9a9dc0261cde.jpg resize: (1080, 1632) 1335077786 -6.406309957488999 treat image : temp/1738804346_1830549_1335077763_9db627756c34917f0a66319aaf8ebbf2.jpg resize: (1080, 1632) 1335077763 -6.051471039246066 treat image : temp/1738804346_1830549_1335077716_d6ff78e71170aa0af39c89cae595ebe3.jpg resize: (1080, 1632) 1335077716 -2.074684163737445 treat image : temp/1738804346_1830549_1335077714_81179590d92968f3036f769049f9a502.jpg resize: (1080, 1632) 1335077714 -2.36989645638261 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.014530658721923828 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.013953685760498047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016895532608032227 save missing photos in datou_result : time spend for datou_step_exec : 14.973418951034546 time spend to save output : 0.053440093994140625 total time spend for step 1 : 15.026859045028687 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 2.99system 0:19.67elapsed 88%CPU (0avgtext+0avgdata 141908maxresident)k 976inputs+8632outputs (22major+188728minor)pagefaults 0swaps