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 : 337382 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 : 6548>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/337382/ 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.296840190887451 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 Fri Aug 1 05:57:31 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/1754020649_337382_1374712475_07773bbd565d6f39d625a4366e580fab.jpg resize: (1080, 1632) 1374712475 -5.745871079196653 treat image : temp/1754020649_337382_1374712474_bb75f1ec1bb5436cb5c31ad0998729e8.jpg resize: (1080, 1632) 1374712474 -3.8931224044942727 treat image : temp/1754020649_337382_1374712473_3b350eb05728de299f7962b6798cf013.jpg resize: (1080, 1632) 1374712473 -1.3650525217031417 treat image : temp/1754020649_337382_1374712469_7236dfd6e9a9e0a91c3a6a24427d3765.jpg resize: (1080, 1632) 1374712469 -1.4089012768847635 treat image : temp/1754020649_337382_1374712465_67b29a9a562980e294d51a44b65887f3.jpg resize: (1080, 1632) 1374712465 -1.0191055828510662 treat image : temp/1754020649_337382_1374712461_c99d3de24605b19ba03065f3f61fca28.jpg resize: (1080, 1632) 1374712461 -5.422203353346586 treat image : temp/1754020649_337382_1374712445_5905c77e89e9efa5c710eaabd5b788e0.jpg resize: (1080, 1632) 1374712445 -5.341453140228315 treat image : temp/1754020649_337382_1374712442_2435e14a679345a9cea07c5130e78441.jpg resize: (1080, 1632) 1374712442 -5.073984747082315 treat image : temp/1754020649_337382_1374712438_aacaf932067725fb3330decb279679f9.jpg resize: (1080, 1632) 1374712438 -5.562019864494134 treat image : temp/1754020649_337382_1374712434_cf13a2575786ba8c0616bc5ad2b402f4.jpg resize: (1080, 1632) 1374712434 -5.651907970353214 treat image : temp/1754020649_337382_1374712431_c3f5fd2b893258d166ccb00b8928a9ee.jpg resize: (1080, 1632) 1374712431 -3.2917559606844997 treat image : temp/1754020649_337382_1374712426_61732b89d98db78aacd403c1340b6390.jpg resize: (1080, 1632) 1374712426 -1.527136477521332 treat image : temp/1754020649_337382_1374712418_25a8587cde3cec1d37c3cefde8614a0d.jpg resize: (1080, 1632) 1374712418 -1.0966115860393102 treat image : temp/1754020649_337382_1374712416_7827ad70e092906fa8393ced7528d059.jpg resize: (1080, 1632) 1374712416 -5.215032734955438 treat image : temp/1754020649_337382_1374712415_65677c5a78b66723310f898ab72bc216.jpg resize: (1080, 1632) 1374712415 -5.903173036199172 treat image : temp/1754020649_337382_1374712413_e69f84d4117272100b14c5e9ffef9a24.jpg resize: (1080, 1632) 1374712413 -5.765708108533548 treat image : temp/1754020649_337382_1374712411_0aa1c585054bd6eeb58ef3d77977fb22.jpg resize: (1080, 1632) 1374712411 -4.557773669569251 treat image : temp/1754020649_337382_1374712410_c59fef13ac45bf9f9e78b26be9a3f645.jpg resize: (1080, 1632) 1374712410 -3.955715712375277 treat image : temp/1754020649_337382_1374712406_e116ba0671096dd64643db627fb4848a.jpg resize: (1080, 1632) 1374712406 -4.941133616708029 treat image : temp/1754020649_337382_1374712404_39d44d599b941e9dfc37abac821eb158.jpg resize: (1080, 1632) 1374712404 -1.481454601233698 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.01699519157409668 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.179581880569458 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1690366268157959 save missing photos in datou_result : time spend for datou_step_exec : 15.308663606643677 time spend to save output : 0.37001872062683105 total time spend for step 1 : 15.678682327270508 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.21user 3.50system 0:22.07elapsed 80%CPU (0avgtext+0avgdata 139932maxresident)k 8inputs+9136outputs (7major+253879minor)pagefaults 0swaps