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 : 3296682 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 : 8064>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3296682/ 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.4068360328674316 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 Sat Jul 5 06:37: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/1751690247_3296682_1370743460_27e362479dd0bbd38f650fce6c239fb8.jpg resize: (1080, 1632) 1370743460 -4.584748845814087 treat image : temp/1751690247_3296682_1370743457_c52788b7b9382ea88c83212f95c1ccc1.jpg resize: (1080, 1632) 1370743457 -4.591123475943245 treat image : temp/1751690247_3296682_1370743453_b5c0567cd528722811fccb445d0754bb.jpg resize: (1080, 1632) 1370743453 -4.585878647483468 treat image : temp/1751690247_3296682_1370743450_3ea99020c622eff6c0abb358a5f474bf.jpg resize: (1080, 1632) 1370743450 -4.575838473470693 treat image : temp/1751690247_3296682_1370743448_774592d3be3f1eb081cb7fd18d207c0a.jpg resize: (1080, 1632) 1370743448 -4.970016760145261 treat image : temp/1751690247_3296682_1370743446_10ad9c70f4b9fe1d5310ab141485c617.jpg resize: (1080, 1632) 1370743446 -4.9589553942520155 treat image : temp/1751690247_3296682_1370743443_35b16f07005ba092e731dcc91328d890.jpg resize: (1080, 1632) 1370743443 -4.254371534458166 treat image : temp/1751690247_3296682_1370743440_9f3c26fea1d6f496ca00ef4afab4e870.jpg resize: (1080, 1632) 1370743440 -4.344943885191605 treat image : temp/1751690247_3296682_1370743438_2324cb68f583a08979bede7d9a97f5bc.jpg resize: (1080, 1632) 1370743438 -4.363863331502798 treat image : temp/1751690247_3296682_1370743436_9f6ad89c16578c4899d19846b4150a1f.jpg resize: (1080, 1632) 1370743436 -3.119024337245593 treat image : temp/1751690247_3296682_1370743434_9714e2b2d5bdcd25d51182cb76ce6d8b.jpg resize: (1080, 1632) 1370743434 -5.164114386622203 treat image : temp/1751690247_3296682_1370743432_0a26da99bd164af523a3556788463c78.jpg resize: (1080, 1632) 1370743432 -5.167268919892206 treat image : temp/1751690247_3296682_1370720582_4cb30cae430000f1bcbf5bd0e83fba20.jpg resize: (1080, 1632) 1370720582 -4.520428602806375 treat image : temp/1751690247_3296682_1370720576_2a663b5c430b25f2b38be529dc640b7f.jpg resize: (1080, 1632) 1370720576 -4.509017069857293 treat image : temp/1751690247_3296682_1370719747_375289b6a2214fe7bf6fff28027bbb3a.jpg resize: (1080, 1632) 1370719747 -4.080811920956099 treat image : temp/1751690247_3296682_1370719741_933f7e6c608ae50b5cebc915be461db9.jpg resize: (1080, 1632) 1370719741 -4.125810746841051 treat image : temp/1751690247_3296682_1370719678_72f0a057130339bda8c7d0582dc8d67a.jpg resize: (1080, 1632) 1370719678 -4.123542520985418 treat image : temp/1751690247_3296682_1370719675_7333272e235de06e187d05c2f108564f.jpg resize: (1080, 1632) 1370719675 -4.124785572525234 treat image : temp/1751690247_3296682_1370719673_00a75a60218be56dbc633e999a192ba7.jpg resize: (1080, 1632) 1370719673 -4.151967191151264 treat image : temp/1751690247_3296682_1370719669_8243e1b6895810db46069fb570c44960.jpg resize: (1080, 1632) 1370719669 -4.1561057110364095 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.016065120697021484 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.039897918701171875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04754757881164551 save missing photos in datou_result : time spend for datou_step_exec : 15.286059379577637 time spend to save output : 0.10882329940795898 total time spend for step 1 : 15.394882678985596 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 3.69system 0:20.26elapsed 88%CPU (0avgtext+0avgdata 137916maxresident)k 168inputs+8640outputs (2major+255007minor)pagefaults 0swaps