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 : 109831 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 : 1134>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/109831/ 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.031613826751709 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 Sat Mar 22 08:17:30 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/1742627848_109831_1346359510_99ff114473221c139255a9f73252071c.jpg resize: (1080, 1632) 1346359510 -4.2143816350010646 treat image : temp/1742627848_109831_1346359499_202e5faf48746cc4edb034bcaf4340c2.jpg resize: (1080, 1632) 1346359499 -4.016917493463232 treat image : temp/1742627848_109831_1346359471_db9cd97305410b1f201bdbec99e974e6.jpg resize: (1080, 1632) 1346359471 -5.822658823126996 treat image : temp/1742627848_109831_1346359456_c20d09a44502e8ae47a283997d8a5797.jpg resize: (1080, 1632) 1346359456 -5.758755894696758 treat image : temp/1742627848_109831_1346359438_e5fac3767bb57d78a3b4237f806cfdef.jpg resize: (1080, 1632) 1346359438 -5.638231902522371 treat image : temp/1742627848_109831_1346359426_ac1641aa9c29c5470ca92db92cee8065.jpg resize: (1080, 1632) 1346359426 -4.442310145169429 treat image : temp/1742627848_109831_1346359386_a6d701d20ec23c2fd6b1df3262276b52.jpg resize: (1080, 1632) 1346359386 -5.4273392137692715 treat image : temp/1742627848_109831_1346359367_f781ca8403b8bba8fb8671f2062c9a0a.jpg resize: (1080, 1632) 1346359367 -5.944832754321231 treat image : temp/1742627848_109831_1346359360_7c917282cf2ccfca8470fc6b289d91ba.jpg resize: (1080, 1632) 1346359360 -5.776518278421734 treat image : temp/1742627848_109831_1346359298_bf8eb2cc160e8edcb60608e85dbffab0.jpg resize: (1080, 1632) 1346359298 -5.936919383092046 treat image : temp/1742627848_109831_1346359188_1f82a98dc6b795db0ddf2cdf48c05d06.jpg resize: (1080, 1632) 1346359188 -4.761379549638265 treat image : temp/1742627848_109831_1346359092_485574b444458eab8d5b23c3747e1842.jpg resize: (1080, 1632) 1346359092 -5.848241745400675 treat image : temp/1742627848_109831_1346358936_09b49158dafc46213da79abe4c15a9c8.jpg resize: (1080, 1632) 1346358936 -5.881759027466054 treat image : temp/1742627848_109831_1346358915_24fa963cfc579268da01345323c057d8.jpg resize: (1080, 1632) 1346358915 -5.538707119414685 treat image : temp/1742627848_109831_1346358883_08756ea25db2408c1a3e2bbbed8fdc2a.jpg resize: (1080, 1632) 1346358883 -4.465368714220118 treat image : temp/1742627848_109831_1346358877_25b86109a70d39dcf692601a32ff257d.jpg resize: (1080, 1632) 1346358877 -2.220212837450152 treat image : temp/1742627848_109831_1346358871_60cb30f2ad65773ea4aecc85bd17fdbf.jpg resize: (1080, 1632) 1346358871 -2.1897801899298206 treat image : temp/1742627848_109831_1346358866_a97fa66f018f1096da6fc93ae30ea58f.jpg resize: (1080, 1632) 1346358866 -5.720902384320012 treat image : temp/1742627848_109831_1346358826_5f6b6c9a07be9e94a22a13eaaa537463.jpg resize: (1080, 1632) 1346358826 -5.893526302080232 treat image : temp/1742627848_109831_1346358804_6f11caa706989f5cfc01febf96749014.jpg resize: (1080, 1632) 1346358804 -4.258324000181111 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.01287078857421875 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.01659083366394043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014119863510131836 save missing photos in datou_result : time spend for datou_step_exec : 16.127265453338623 time spend to save output : 0.048377037048339844 total time spend for step 1 : 16.175642490386963 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 3.64system 0:20.88elapsed 87%CPU (0avgtext+0avgdata 139796maxresident)k 96inputs+10192outputs (18major+258129minor)pagefaults 0swaps