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 : 2498989 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 : 1817>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/2498989/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9997320175170898 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 Thu Jul 3 04:47: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/1751510848_2498989_1370280457_4c99bbe0c7f69d309869d1869240a53a.jpg resize: (1080, 1632) 1370280457 -3.377661006659133 treat image : temp/1751510848_2498989_1370280434_f6c49808c1336e730f5a51c50b1e13af.jpg resize: (1080, 1632) 1370280434 -3.391890962931891 treat image : temp/1751510848_2498989_1370280382_a8fa21f65d55f24fc87439988e84f9df.jpg resize: (1080, 1632) 1370280382 -3.4082932002734023 treat image : temp/1751510848_2498989_1370280342_da8ec7da63878c3a3210d9ce8f82e910.jpg resize: (1080, 1632) 1370280342 -3.4034746177371273 treat image : temp/1751510848_2498989_1370280311_643170c1ca579c4ad49073596b259279.jpg resize: (1080, 1632) 1370280311 -3.4044032412041276 treat image : temp/1751510848_2498989_1370280308_a0e6edec5cb50c038b13290fef7717c8.jpg resize: (1080, 1632) 1370280308 -3.3925465332274887 treat image : temp/1751510848_2498989_1370280255_c2ff3013ce55dec031835bef55378aab.jpg resize: (1080, 1632) 1370280255 -3.4063898348252994 treat image : temp/1751510848_2498989_1370280253_faa195fa14316bf3425c3e449d6171a3.jpg resize: (1080, 1632) 1370280253 -3.4050120617525255 treat image : temp/1751510848_2498989_1370280242_8409e8ea943d92c2b65d66c93a5e9b67.jpg resize: (1080, 1632) 1370280242 -3.408155511745693 treat image : temp/1751510848_2498989_1370280191_3f9376fb8403391eb34c504a9716ea89.jpg resize: (1080, 1632) 1370280191 -3.414829779118007 treat image : temp/1751510848_2498989_1370280148_edbaea7fa4d1284701da49716766191a.jpg resize: (1080, 1632) 1370280148 -3.413283300058337 treat image : temp/1751510848_2498989_1370280115_825c1e5a33d25f8f2777c6eb9ce02f28.jpg resize: (1080, 1632) 1370280115 -3.3926166750106543 treat image : temp/1751510848_2498989_1370280014_28c7cb269e86b07db2249afffcfb96c1.jpg resize: (1080, 1632) 1370280014 -3.400422165097629 treat image : temp/1751510848_2498989_1370280009_88db62e479fd48ae96be69edd632364a.jpg resize: (1080, 1632) 1370280009 -3.4045656658431316 treat image : temp/1751510848_2498989_1370280003_56cbefdd1c3264aa2d5d02768a2f31ab.jpg resize: (1080, 1632) 1370280003 -3.398624791710574 treat image : temp/1751510848_2498989_1370279978_670263630c9d51b22c5020544de14696.jpg resize: (1080, 1632) 1370279978 -3.403016516874068 treat image : temp/1751510848_2498989_1370279919_45bcf8542e5ea2e7a0ca195396e9e2cf.jpg resize: (1080, 1632) 1370279919 -3.40864088429912 treat image : temp/1751510848_2498989_1370279881_c442f29022ffff6abdeb013e4a01183a.jpg resize: (1080, 1632) 1370279881 -3.414712929087668 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 : 18 time used for this insertion : 0.015725374221801758 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.10099911689758301 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.2178800106048584 save missing photos in datou_result : time spend for datou_step_exec : 14.53823709487915 time spend to save output : 0.3397238254547119 total time spend for step 1 : 14.877960920333862 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.85user 3.83system 0:19.05elapsed 87%CPU (0avgtext+0avgdata 138112maxresident)k 520inputs+6488outputs (32major+235019minor)pagefaults 0swaps