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 : 800483 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/800483/ 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.1625561714172363 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 Mon May 12 05:32: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/1747020748_800483_1357597639_4b8f13dcc53efc50f47733b81756289e.jpg resize: (1080, 1632) 1357597639 -5.546195776649071 treat image : temp/1747020748_800483_1357597638_3be8909367fad9e429881dfaef69ae7f.jpg resize: (1080, 1632) 1357597638 -5.551050410862664 treat image : temp/1747020748_800483_1357597637_c9f54cd6b3c67ddf0c06fb657cb2b9f7.jpg resize: (1080, 1632) 1357597637 -4.7457801717706865 treat image : temp/1747020748_800483_1357597636_78b2756a6bc924e259de55025bb3a2b5.jpg resize: (1080, 1632) 1357597636 -4.657636167843083 treat image : temp/1747020748_800483_1357597633_e80fee151fa007aa9d76ef195b55dab7.jpg resize: (1080, 1632) 1357597633 -4.812636863690347 treat image : temp/1747020748_800483_1357597603_145d5f7cdeef5309b6cf17c9f965f01c.jpg resize: (1080, 1632) 1357597603 -1.763084573035278 treat image : temp/1747020748_800483_1357597602_e72af20bc6081eb370eee2484f60a863.jpg resize: (1080, 1632) 1357597602 -1.996706758487789 treat image : temp/1747020748_800483_1357597601_db0d3475f1c6e90e2d395e5c9de82e39.jpg resize: (1080, 1632) 1357597601 -1.9479830479783267 treat image : temp/1747020748_800483_1357597599_1e7242c290d73cb39b5409dafb3a9418.jpg resize: (1080, 1632) 1357597599 -4.14641709479833 treat image : temp/1747020748_800483_1357597555_ac5bbbb9ac0a30a2c6c990255fb134b2.jpg resize: (1080, 1632) 1357597555 -5.009253058036433 treat image : temp/1747020748_800483_1357597553_47c0054342cf3fe29e9cc7d37aef5489.jpg resize: (1080, 1632) 1357597553 -5.311103678616236 treat image : temp/1747020748_800483_1357597549_3e7a81706c560a2ffcab6fae0d47772d.jpg resize: (1080, 1632) 1357597549 -2.7922883747813185 treat image : temp/1747020748_800483_1357597516_995b6ce1e0892b2fccba5feda819cc8c.jpg resize: (1080, 1632) 1357597516 -5.362907434805398 treat image : temp/1747020748_800483_1357597515_e613e5f3c6bed05efa725e40a785a681.jpg resize: (1080, 1632) 1357597515 -6.027398101341456 treat image : temp/1747020748_800483_1357597514_6bd61cc845c682b90f4e81f9c35b71ea.jpg resize: (1080, 1632) 1357597514 -6.2522690762739845 treat image : temp/1747020748_800483_1357597513_69dcb6841544bdf368bd8103a23253dd.jpg resize: (1080, 1632) 1357597513 -6.0934332239162226 treat image : temp/1747020748_800483_1357597512_625c0e8f8241fee62f18240fe905b472.jpg resize: (1080, 1632) 1357597512 -5.956288344806033 treat image : temp/1747020748_800483_1357597510_1f552bbe68bd96ca45404aa19edfc503.jpg resize: (1080, 1632) 1357597510 -2.8225340201264633 treat image : temp/1747020748_800483_1357597490_8e13f6d75654e12a7ff2725173679733.jpg resize: (1080, 1632) 1357597490 -3.7176321678472757 treat image : temp/1747020748_800483_1357597489_9a3638bff5da3976775b85c828ffc4a7.jpg resize: (1080, 1632) 1357597489 -6.029596470589339 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.013640403747558594 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.011984586715698242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015927791595458984 save missing photos in datou_result : time spend for datou_step_exec : 14.816750288009644 time spend to save output : 0.04672431945800781 total time spend for step 1 : 14.863474607467651 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.46user 3.69system 0:20.05elapsed 85%CPU (0avgtext+0avgdata 141708maxresident)k 144inputs+9416outputs (5major+254957minor)pagefaults 0swaps