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 : 2151009 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 : 5920>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/2151009/ 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.375889301300049 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 Jul 4 20:22: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/1751653347_2151009_1370684934_d8f37815c85cf81405184cfe268242c0.jpg resize: (1080, 1632) 1370684934 -5.867630861960101 treat image : temp/1751653347_2151009_1370684932_924ec82bdea55dec790402309916189a.jpg resize: (1080, 1632) 1370684932 -5.858625498402418 treat image : temp/1751653347_2151009_1370684928_443f2fb6878a10a75585170784a8acfb.jpg resize: (1080, 1632) 1370684928 -5.854418108515231 treat image : temp/1751653347_2151009_1370684924_b782eeaf59379b674d697d58de6923ea.jpg resize: (1080, 1632) 1370684924 -5.536304420464502 treat image : temp/1751653347_2151009_1370684921_f46ef166fcf7863c16e470a6acff5dd9.jpg resize: (1080, 1632) 1370684921 -5.42263041103706 treat image : temp/1751653347_2151009_1370684918_6e59393a1c0905cb86bff8035b6d75aa.jpg resize: (1080, 1632) 1370684918 -5.429227500440016 treat image : temp/1751653347_2151009_1370684900_147184c7e459dd8d5cd3a5c59d6d8ea6.jpg resize: (1080, 1632) 1370684900 -4.921562203567728 treat image : temp/1751653347_2151009_1370684895_c61bf0ccbabae97c1b06c8cdb1aa16b7.jpg resize: (1080, 1632) 1370684895 -4.901177340637763 treat image : temp/1751653347_2151009_1370684891_e585403ed18af870e7199f6af310082d.jpg resize: (1080, 1632) 1370684891 -4.928101636362861 treat image : temp/1751653347_2151009_1370684889_a2e1414818bb6d0d7a1e12d169eb380c.jpg resize: (1080, 1632) 1370684889 -5.369045383549294 treat image : temp/1751653347_2151009_1370684887_bde8313e3f42377b688bb76940c16cb7.jpg resize: (1080, 1632) 1370684887 -5.39916445157758 treat image : temp/1751653347_2151009_1370684882_03f3a6dfce3f3ad85c6504e252e928c6.jpg resize: (1080, 1632) 1370684882 -5.243460728183556 treat image : temp/1751653347_2151009_1370684803_cf045137e394032f26cdc8869f814367.jpg resize: (1080, 1632) 1370684803 -2.6010914887261785 treat image : temp/1751653347_2151009_1370684802_2520b9cb3d5af548c4cf0c76d0dc3958.jpg resize: (1080, 1632) 1370684802 -2.6010914887261785 treat image : temp/1751653347_2151009_1370684799_0821ca91928ab342a289ef71b2ac2bbd.jpg resize: (1080, 1632) 1370684799 -2.547733635964065 treat image : temp/1751653347_2151009_1370684798_58fde245b8f2a8b8e90b0519cb5136cd.jpg resize: (1080, 1632) 1370684798 -2.547733635964065 treat image : temp/1751653347_2151009_1370684788_63b7d16aedb1b977daf8f72cbdbec029.jpg resize: (1080, 1632) 1370684788 -5.057289534077742 treat image : temp/1751653347_2151009_1370684787_7cae0afad0dfeb4dffe2e406680a44b8.jpg resize: (1080, 1632) 1370684787 -5.000720457228332 treat image : temp/1751653347_2151009_1370684785_4775b0c64c6d41de646be860b75c1bc0.jpg resize: (1080, 1632) 1370684785 -5.3247177883641275 treat image : temp/1751653347_2151009_1370684782_7051fcad510aeb31bea4841924034e64.jpg resize: (1080, 1632) 1370684782 -4.17119406000669 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.01262974739074707 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.012216567993164062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014710426330566406 save missing photos in datou_result : time spend for datou_step_exec : 17.614798069000244 time spend to save output : 0.044759273529052734 total time spend for step 1 : 17.659557342529297 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.20user 5.45system 0:22.55elapsed 87%CPU (0avgtext+0avgdata 140240maxresident)k 144inputs+9744outputs (12major+254627minor)pagefaults 0swaps