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 : 2532182 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2532182/ 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 : 3.207948923110962 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 Fri Jul 18 04:27: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/1752805648_2532182_1372327467_49509dce2bc3d75df5ab00844ea8906b.jpg resize: (1080, 1632) 1372327467 -4.731365711316888 treat image : temp/1752805648_2532182_1372327464_fb6b5b65cbb96608dc76e1849cc55eed.jpg resize: (1080, 1632) 1372327464 -5.000711164193241 treat image : temp/1752805648_2532182_1372327461_e6ffdfa94db19d86910770465bd57db4.jpg resize: (1080, 1632) 1372327461 -4.360005761413562 treat image : temp/1752805648_2532182_1372327446_52ea1b5b1028f74304324944c1e44cd9.jpg resize: (1080, 1632) 1372327446 -2.8087420664055216 treat image : temp/1752805648_2532182_1372327444_f5e147f7c99b0e7361b1745d356237a4.jpg resize: (1080, 1632) 1372327444 -2.218752961514194 treat image : temp/1752805648_2532182_1372327442_a6340ff2049efbb033683682e0736e84.jpg resize: (1080, 1632) 1372327442 -3.118407157163717 treat image : temp/1752805648_2532182_1372327440_30ed77b4956cefa617a063dd802d746d.jpg resize: (1080, 1632) 1372327440 -5.178377680474692 treat image : temp/1752805648_2532182_1372327437_33775b162403d9dcdbf4f83d14b6093a.jpg resize: (1080, 1632) 1372327437 -3.957610532376236 treat image : temp/1752805648_2532182_1372327433_9462352627e7f93361eadabf73d77a57.jpg resize: (1080, 1632) 1372327433 -5.0919526538743325 treat image : temp/1752805648_2532182_1372327412_15da0e9fbeda970cb4656916c08b4aef.jpg resize: (1080, 1632) 1372327412 -5.06925993991225 treat image : temp/1752805648_2532182_1372327410_268ce7cb51280d14b266c15cc51d6c28.jpg resize: (1080, 1632) 1372327410 -4.520489028401414 treat image : temp/1752805648_2532182_1372327408_146f2b72a6cc8a1b8738e98e876f2339.jpg resize: (1080, 1632) 1372327408 -4.573364347165382 treat image : temp/1752805648_2532182_1372327406_130595c4da1eccddebe9e558c846064e.jpg resize: (1080, 1632) 1372327406 -4.583080387140827 treat image : temp/1752805648_2532182_1372327405_2a390035721e876d4241596d653e3e49.jpg resize: (1080, 1632) 1372327405 -1.6100098967027936 treat image : temp/1752805648_2532182_1372327403_6ab8d83502504b7f56fa348ed35c6f34.jpg resize: (1080, 1632) 1372327403 -2.8116034296018304 treat image : temp/1752805648_2532182_1372327385_a240b1766d1fcac0d7f664fc115a73b7.jpg resize: (1080, 1632) 1372327385 -4.712949587807 treat image : temp/1752805648_2532182_1372327381_5aafc93b986c8b0583b1527fdfe7e52f.jpg resize: (1080, 1632) 1372327381 -5.189044001633617 treat image : temp/1752805648_2532182_1372327379_45af4383e081635bf05fc221ed41d0c9.jpg resize: (1080, 1632) 1372327379 -5.100116961833556 treat image : temp/1752805648_2532182_1372327376_30791efc9fd6a929a34f570f7b207af8.jpg resize: (1080, 1632) 1372327376 -5.025239733089483 treat image : temp/1752805648_2532182_1372327374_e305526dafa4dc690f58d86a6f889d13.jpg resize: (1080, 1632) 1372327374 -4.117714891640789 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.013639211654663086 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.3549337387084961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0181424617767334 save missing photos in datou_result : time spend for datou_step_exec : 15.326590538024902 time spend to save output : 0.3912086486816406 total time spend for step 1 : 15.717799186706543 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 3.53system 0:22.80elapsed 78%CPU (0avgtext+0avgdata 137816maxresident)k 16inputs+8592outputs (1major+260000minor)pagefaults 0swaps