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 : 1315695 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 : 2761>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/1315695/ 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.3977818489074707 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 Aug 12 17:02:28 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/1755010946_1315695_1376642608_cf7c858bc95459764b52d5b5f3bf4008.jpg resize: (1080, 1632) 1376642608 -4.061227206507118 treat image : temp/1755010946_1315695_1376642580_26e12b602cd23319564b2c82e424c218.jpg resize: (1080, 1632) 1376642580 -5.26546300787865 treat image : temp/1755010946_1315695_1376642489_8f6fe62c8f58ecefa79f38a2228eef9f.jpg resize: (1080, 1632) 1376642489 -4.753401691887084 treat image : temp/1755010946_1315695_1376642463_9e55c8dd53a7dc22fafc4b96339d3776.jpg resize: (1080, 1632) 1376642463 -5.13928873981975 treat image : temp/1755010946_1315695_1376642435_c3fbb55f118e0616bf2c0b7d4f8f407f.jpg resize: (1080, 1632) 1376642435 -3.159021419317543 treat image : temp/1755010946_1315695_1376642401_23fe5d362657c813c4aa2bdc26faba15.jpg resize: (1080, 1632) 1376642401 -1.568817371897456 treat image : temp/1755010946_1315695_1376642370_fc604f768e3d265146a2f733789271cb.jpg resize: (1080, 1632) 1376642370 -3.861816941721739 treat image : temp/1755010946_1315695_1376642338_5c06c67f45e81a2a402e599176c422f4.jpg resize: (1080, 1632) 1376642338 -5.252824987131964 treat image : temp/1755010946_1315695_1376642200_fe63e80b8a2f3f812144057b79877d19.jpg resize: (1080, 1632) 1376642200 -5.060555065717705 treat image : temp/1755010946_1315695_1376642174_8872b2f3983c5e2b233d1aed3fc09924.jpg resize: (1080, 1632) 1376642174 -2.6709923619629237 treat image : temp/1755010946_1315695_1376642152_485a8121dd69facef5304e508d11ecbd.jpg resize: (1080, 1632) 1376642152 -3.6642472192025792 treat image : temp/1755010946_1315695_1376642149_82a56a8f1f157079813b1c3c1750c761.jpg resize: (1080, 1632) 1376642149 -5.344590224088126 treat image : temp/1755010946_1315695_1376642145_dd46360001f32e0d94d936ed2f17beaf.jpg resize: (1080, 1632) 1376642145 -4.495681320740596 treat image : temp/1755010946_1315695_1376642142_4d76b729da9aa36d757f48780b96c606.jpg resize: (1080, 1632) 1376642142 -5.5996752824334335 treat image : temp/1755010946_1315695_1376642132_cf7a8701a5085caa1d9eb5369908ea28.jpg resize: (1080, 1632) 1376642132 -4.95982671635446 treat image : temp/1755010946_1315695_1376642128_772c9a71fdd92ee723a2d5a8c1fcec3a.jpg resize: (1080, 1632) 1376642128 -5.070975632867248 treat image : temp/1755010946_1315695_1376642126_1947a4a990f828d64175a0358e8eb29b.jpg resize: (1080, 1632) 1376642126 -2.7741536561149363 treat image : temp/1755010946_1315695_1376642124_f92938497047b5bb805ca771d616bc34.jpg resize: (1080, 1632) 1376642124 -1.5454573950116235 treat image : temp/1755010946_1315695_1376642118_0e3ab8f7bebaefbb17ca2da52fc72a37.jpg resize: (1080, 1632) 1376642118 -2.578856817195383 treat image : temp/1755010946_1315695_1376642114_946e5b7d37a22e75a007156619660ea4.jpg resize: (1080, 1632) 1376642114 -6.155220170673442 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.014487743377685547 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.011967897415161133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013892889022827148 save missing photos in datou_result : time spend for datou_step_exec : 14.751532554626465 time spend to save output : 0.044914960861206055 total time spend for step 1 : 14.796447515487671 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.81user 3.68system 0:18.82elapsed 92%CPU (0avgtext+0avgdata 140412maxresident)k 968inputs+9128outputs (13major+226969minor)pagefaults 0swaps