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 : 1858743 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 : 3889>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1858743/ 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.4962573051452637 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 Jul 8 10:57: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/1751965047_1858743_1371150685_9f88249113614f30e463064baad6ea90.jpg resize: (1080, 1632) 1371150685 -3.798105114117106 treat image : temp/1751965047_1858743_1371150683_17f6644792aead4126dd278dc7a5be16.jpg resize: (1080, 1632) 1371150683 -3.795841405727661 treat image : temp/1751965047_1858743_1371150679_7a50218802644b5c54726850310922b3.jpg resize: (1080, 1632) 1371150679 -3.804741294037249 treat image : temp/1751965047_1858743_1371150676_47b517a3c460e7141dc4680c0028c17c.jpg resize: (1080, 1632) 1371150676 -3.8055730232617164 treat image : temp/1751965047_1858743_1371150674_fdcae8cdff319b3ba589b978fc371173.jpg resize: (1080, 1632) 1371150674 -3.782945951742995 treat image : temp/1751965047_1858743_1371150663_b855873af6e3e1b444b27019f74f00cf.jpg resize: (1080, 1632) 1371150663 -3.7982510669861256 treat image : temp/1751965047_1858743_1371150661_3a28cd12c5fa9a634af957bbf85842f6.jpg resize: (1080, 1632) 1371150661 -3.8089444302541944 treat image : temp/1751965047_1858743_1371150659_ed4ef2dbbb6f343d9582fb684158aac4.jpg resize: (1080, 1632) 1371150659 -3.8095614422771327 treat image : temp/1751965047_1858743_1371150656_24b692cd33229d1f3ba4ccb3dcae02d6.jpg resize: (1080, 1632) 1371150656 -3.8012237498880093 treat image : temp/1751965047_1858743_1371150654_763302f49c98843f59d7d132acf43b67.jpg resize: (1080, 1632) 1371150654 -3.8237942937123215 treat image : temp/1751965047_1858743_1371150651_5d157f7a8f92563afb607ea7eff06c20.jpg resize: (1080, 1632) 1371150651 -3.809385600506018 treat image : temp/1751965047_1858743_1371150636_4ca3cddd7d0b5db0c26fd882cb5b5574.jpg resize: (1080, 1632) 1371150636 -3.778165258054892 treat image : temp/1751965047_1858743_1371150634_8402c8d4db1967e8a940ac2ff1941b63.jpg resize: (1080, 1632) 1371150634 -3.7885948116702717 treat image : temp/1751965047_1858743_1371150632_1e5d5e1c8b49f5d15bf4f90c53f8bde5.jpg resize: (1080, 1632) 1371150632 -3.789754881925562 treat image : temp/1751965047_1858743_1371150629_7902f18417ed5ff9866857ac8ff88f35.jpg resize: (1080, 1632) 1371150629 -3.7949079889785398 treat image : temp/1751965047_1858743_1371150625_fca3a8e049abc1b50eeee5db2ce9ec8c.jpg resize: (1080, 1632) 1371150625 -3.803410922577988 treat image : temp/1751965047_1858743_1371150622_94cd824c9295b87a53119b6e4c5100ef.jpg resize: (1080, 1632) 1371150622 -3.790631839955707 treat image : temp/1751965047_1858743_1371150609_e9ba94aa899aeb18ecc6add160b147b2.jpg resize: (1080, 1632) 1371150609 -3.745739829164238 treat image : temp/1751965047_1858743_1371150606_52d6d460c7065f34a7f32ed72677eb52.jpg resize: (1080, 1632) 1371150606 -3.7358846018548273 treat image : temp/1751965047_1858743_1371150603_c7422976d57a18fa101763058ad967cf.jpg resize: (1080, 1632) 1371150603 -3.760176781576595 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.013759613037109375 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.011960029602050781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01796698570251465 save missing photos in datou_result : time spend for datou_step_exec : 14.217448472976685 time spend to save output : 0.04842042922973633 total time spend for step 1 : 14.265868902206421 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.70user 3.14system 0:19.44elapsed 86%CPU (0avgtext+0avgdata 139344maxresident)k 48inputs+8024outputs (3major+263707minor)pagefaults 0swaps