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 : 3566109 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 : 2364>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3566109/ 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.3636109828948975 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 Wed Jul 9 17:22:29 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/1752074547_3566109_1371417954_196296f6161336f57474ba38bb9706b0.jpg resize: (1080, 1632) 1371417954 -4.639612613307515 treat image : temp/1752074547_3566109_1371417952_70bb7b5225e6f331fe3af80500c77ae0.jpg resize: (1080, 1632) 1371417952 -4.930894382395489 treat image : temp/1752074547_3566109_1371417950_f822f7652999793e804522b01137fe18.jpg resize: (1080, 1632) 1371417950 -4.939259032254648 treat image : temp/1752074547_3566109_1371417947_1a7d48092a51bde10904b7dfda99a4d7.jpg resize: (1080, 1632) 1371417947 -5.191000791824387 treat image : temp/1752074547_3566109_1371417944_f9fb37cfb21d623e6787a2b2d2ef13ab.jpg resize: (1080, 1632) 1371417944 -3.9398781664298568 treat image : temp/1752074547_3566109_1371417935_d3566ce0714d4143c2f758d45095db2e.jpg resize: (1080, 1632) 1371417935 -5.218782597094055 treat image : temp/1752074547_3566109_1371417924_8b49e8f6fac865f6275167ca20bebffe.jpg resize: (1080, 1632) 1371417924 -4.851567378846732 treat image : temp/1752074547_3566109_1371417921_87e3a37251c22c84224063733ceed629.jpg resize: (1080, 1632) 1371417921 -4.838387885264539 treat image : temp/1752074547_3566109_1371417919_01b8e6ea5064246b6904a351bdeae673.jpg resize: (1080, 1632) 1371417919 -1.5391783180896237 treat image : temp/1752074547_3566109_1371417916_5454a42cad468f34daaa086a15eac261.jpg resize: (1080, 1632) 1371417916 -2.464084210788982 treat image : temp/1752074547_3566109_1371417913_27f023f97cdf2d48db01303789f33631.jpg resize: (1080, 1632) 1371417913 -2.413851252084694 treat image : temp/1752074547_3566109_1371417911_8febc5cf2d9760627c397cf8d7e9c410.jpg resize: (1080, 1632) 1371417911 -2.4512233839106825 treat image : temp/1752074547_3566109_1371417819_0835435ab3926591056fc7f55085b29b.jpg resize: (1080, 1632) 1371417819 -3.3958511022103908 treat image : temp/1752074547_3566109_1371417810_7009e91ad547b064cc0f82be951e22a4.jpg resize: (1080, 1632) 1371417810 -2.0478926360369325 treat image : temp/1752074547_3566109_1371417785_57c29f6bd25412368eb4486215b59f4c.jpg resize: (1080, 1632) 1371417785 -4.983141793364778 treat image : temp/1752074547_3566109_1371417757_251086a8182217c1e313aa62ba7bf16a.jpg resize: (1080, 1632) 1371417757 -5.235429703034835 treat image : temp/1752074547_3566109_1371417746_e660a4c3c81c700aefcc4e80e78f1696.jpg resize: (1080, 1632) 1371417746 -5.379110621138224 treat image : temp/1752074547_3566109_1371417743_c867ae577d81636544788adf36e41c99.jpg resize: (1080, 1632) 1371417743 -4.81254160180726 treat image : temp/1752074547_3566109_1371417739_cd8bbc78d473ebf299f27bc1bc5134a1.jpg resize: (1080, 1632) 1371417739 -5.337755016629785 treat image : temp/1752074547_3566109_1371417737_ea85d47bdcc2c276c9735bcac32d27a9.jpg resize: (1080, 1632) 1371417737 -1.980148002574391 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.013579607009887695 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.013014078140258789 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014931201934814453 save missing photos in datou_result : time spend for datou_step_exec : 12.990098476409912 time spend to save output : 0.046303510665893555 total time spend for step 1 : 13.036401987075806 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.92user 1.76system 0:17.18elapsed 91%CPU (0avgtext+0avgdata 138864maxresident)k 128inputs+8680outputs (9major+117511minor)pagefaults 0swaps