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 : 3161600 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 : 1768>100 please execute split_portfolio.py -i 26046582 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551869'] with mtr_portfolio_ids : ['26046582'] and first list_photo_ids : [] new path : /proc/3161600/ 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.2683730125427246 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 19 17:02:32 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/1755615749_3161600_1377895825_b6ba197bdfdc388c3b347178386b2169.jpg resize: (1080, 1632) 1377895825 -2.679400606231382 treat image : temp/1755615749_3161600_1377895806_d0920a2feac7b94cf213d46fba9b8e70.jpg resize: (1080, 1632) 1377895806 -4.293128318241273 treat image : temp/1755615749_3161600_1377895707_61f7d4555f1affe8b7c87425a577a13f.jpg resize: (1080, 1632) 1377895707 -4.870750425409319 treat image : temp/1755615749_3161600_1377895703_927f6a27a4b6c29dc817389c530be5a4.jpg resize: (1080, 1632) 1377895703 -4.870750425409319 treat image : temp/1755615749_3161600_1377895679_f7cd6287e7684be18a05c17d96f84d51.jpg resize: (1080, 1632) 1377895679 -5.1376338449275325 treat image : temp/1755615749_3161600_1377895676_92cc5a83ff962f9f866d936c0bc62d92.jpg resize: (1080, 1632) 1377895676 -5.1376338449275325 treat image : temp/1755615749_3161600_1377895650_27bd0bb81ce8baea3f151ed587d9346d.jpg resize: (1080, 1632) 1377895650 -5.802260441789199 treat image : temp/1755615749_3161600_1377895649_17eae116413be126e1967d9c3841699f.jpg resize: (1080, 1632) 1377895649 -5.802260441789199 treat image : temp/1755615749_3161600_1377895624_d8ef394422d4408f804d393ca9506679.jpg resize: (1080, 1632) 1377895624 -5.243393115797664 treat image : temp/1755615749_3161600_1377895622_d22717df7a249bce93ff6b32bb7836bc.jpg resize: (1080, 1632) 1377895622 -5.243393115797664 treat image : temp/1755615749_3161600_1377895599_9b9a3873faea7c5c0d6aa589fb5c8217.jpg resize: (1080, 1632) 1377895599 -4.014093232993708 treat image : temp/1755615749_3161600_1377895597_72e127905bd79b37dc1faa1b26dbef50.jpg resize: (1080, 1632) 1377895597 -4.014093232993708 treat image : temp/1755615749_3161600_1377895572_8986a12d72d117a02af44de7128aff41.jpg resize: (1080, 1632) 1377895572 -5.463504260451163 treat image : temp/1755615749_3161600_1377895571_c5b7817a8e81c4785736f03d93e159c6.jpg resize: (1080, 1632) 1377895571 -5.463504260451163 treat image : temp/1755615749_3161600_1377895425_276cbcd34db779981ac3245ef5fc78a4.jpg resize: (1080, 1632) 1377895425 -2.679400606231382 treat image : temp/1755615749_3161600_1377895424_d2496cab50ce266b912bddf314464a1d.jpg resize: (1080, 1632) 1377895424 -4.293128318241273 treat image : temp/1755615749_3161600_1377895409_a83d4adc191301f3329d0b73866f9e89.jpg resize: (1080, 1632) 1377895409 -4.870750425409319 treat image : temp/1755615749_3161600_1377895392_e88638fc281e1462c39859a90ccd87dd.jpg resize: (1080, 1632) 1377895392 -0.40832280609378224 treat image : temp/1755615749_3161600_1377895384_001651a6ab565e2a633e6e3d2ee4d275.jpg resize: (1080, 1632) 1377895384 -1.571133384632712 treat image : temp/1755615749_3161600_1377895382_f0695cab905dda5ee469e7a500e4ac4c.jpg resize: (1080, 1632) 1377895382 -1.9076508627894493 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.013219594955444336 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.01394963264465332 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015746593475341797 save missing photos in datou_result : time spend for datou_step_exec : 13.966857433319092 time spend to save output : 0.04890775680541992 total time spend for step 1 : 14.015765190124512 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 2.07system 0:20.00elapsed 81%CPU (0avgtext+0avgdata 137108maxresident)k 0inputs+8960outputs (1major+173321minor)pagefaults 0swaps