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 : 3241923 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 : 2714>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3241923/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB[Errno 104] Connection reset by peer can't download the photo : 1359834075 complete_path : /home/admin/workarea/git/Velours/python/temp/1747755148_3241923_1359834075_9fca374c0bd04a5796f8a00ca87b300b.jpg FB[Errno 104] Connection reset by peer can't download the photo : 1359834074 complete_path : /home/admin/workarea/git/Velours/python/temp/1747755148_3241923_1359834074_53696a284a8d332dbf87166f8e539079.jpg Fwe have missing 2 photos in the step downloads : photo missing : [1359834075, 1359834074] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1359834075 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1359834074 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 3.0326576232910156 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 Tue May 20 17:32: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/1747755148_3241923_1359834256_406712b8b70f617e9a5d557de3f3e037.jpg resize: (1080, 1632) 1359834256 -5.310377194432804 treat image : temp/1747755148_3241923_1359834223_fae0c67be127f7ac1596946d1c082f22.jpg resize: (1080, 1632) 1359834223 20.0 treat image : temp/1747755148_3241923_1359834218_acb1bbb5226c266102fde364bbbcaadf.jpg resize: (1080, 1632) 1359834218 -4.274076199730558 treat image : temp/1747755148_3241923_1359834215_71df38e07386bf001f72bcb3ea3da412.jpg resize: (1080, 1632) 1359834215 -3.7550780598147697 treat image : temp/1747755148_3241923_1359834205_13f30365fb732d7ddcfce88f0d3cfdb7.jpg resize: (1080, 1632) 1359834205 -6.046153825962766 treat image : temp/1747755148_3241923_1359834192_54baef0a4d985064c9241ad909b8632e.jpg resize: (1080, 1632) 1359834192 -6.065255234446642 treat image : temp/1747755148_3241923_1359834160_ab481f94e18ee5b1bdcda3899d218682.jpg resize: (1080, 1632) 1359834160 -1.4871677222763702 treat image : temp/1747755148_3241923_1359834157_f7eb8df6f904acdce4f0e00b38e8258d.jpg resize: (1080, 1632) 1359834157 -2.50316489527111 treat image : temp/1747755148_3241923_1359834153_94f32fdd9fb4a062f0551a449e6b897e.jpg resize: (1080, 1632) 1359834153 -2.968312360879018 treat image : temp/1747755148_3241923_1359834125_122e498eec23c70e80e706d84d41067e.jpg resize: (1080, 1632) 1359834125 -5.491644378200676 treat image : temp/1747755148_3241923_1359834123_da631281e21d4910adf5c311bb3f1256.jpg resize: (1080, 1632) 1359834123 -3.0870334745041674 treat image : temp/1747755148_3241923_1359834119_e7f0735f0ab052418bee001cc273bf2c.jpg resize: (1080, 1632) 1359834119 -5.057457973081344 treat image : temp/1747755148_3241923_1359834115_3829cecbaf36f0dffd27efd37abf4721.jpg resize: (1080, 1632) 1359834115 -5.056682191335381 treat image : temp/1747755148_3241923_1359834111_fd8fda3a9ba699bf09f00cf7c485a42e.jpg resize: (1080, 1632) 1359834111 -5.097747608108098 treat image : temp/1747755148_3241923_1359834107_254f3b3f66a11b8b1504ce8a97240025.jpg resize: (1080, 1632) 1359834107 -5.26950017934908 treat image : temp/1747755148_3241923_1359834084_7d90dd44be6791e1b868e1bc5cdc9c9d.jpg resize: (1080, 1632) 1359834084 -5.289110325809276 treat image : temp/1747755148_3241923_1359834082_89d682b287ca968cb4081fceb35e89ae.jpg resize: (1080, 1632) 1359834082 -4.249062029272856 treat image : temp/1747755148_3241923_1359834078_ffef4c99a99cb76d5ba81e90fa3502ff.jpg resize: (1080, 1632) 1359834078 -5.221556370343075 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 : 18 time used for this insertion : 0.015659332275390625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.014790058135986328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.0169064998626709 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.014180183410644531 time spend for datou_step_exec : 15.637042760848999 time spend to save output : 0.0670018196105957 total time spend for step 1 : 15.704044580459595 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.16user 4.89system 0:22.46elapsed 80%CPU (0avgtext+0avgdata 138648maxresident)k 1880inputs+7992outputs (8major+241986minor)pagefaults 0swaps