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 : 3363503 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 : 2617>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated 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/3363503/ 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.4935379028320312 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 17:52: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/1747065148_3363503_1357679794_cee8b3292de0731e6b79d083c26836f5.jpg resize: (1080, 1632) 1357679794 -5.33719222963909 treat image : temp/1747065148_3363503_1357674748_9c036809f2a3a712f362cd8ab6b3add2.jpg resize: (1080, 1632) 1357674748 -5.776223765383034 treat image : temp/1747065148_3363503_1357674743_fc87af69d8b6798cbaad7b1d91e544b2.jpg resize: (1080, 1632) 1357674743 -4.619151278247291 treat image : temp/1747065148_3363503_1357674739_75dd231acab5bef0292f8d5698d7d5f8.jpg resize: (1080, 1632) 1357674739 -5.846795787807176 treat image : temp/1747065148_3363503_1357674734_cfe791c98ef2b2c917b2f4cdedb0fcce.jpg resize: (1080, 1632) 1357674734 -5.202693924500467 treat image : temp/1747065148_3363503_1357674730_df596269f0f1043ed03f31bd90882220.jpg resize: (1080, 1632) 1357674730 -3.2877052464434957 treat image : temp/1747065148_3363503_1357674679_3e09ea6cd5599119215d4be91410189c.jpg resize: (1080, 1632) 1357674679 -0.03073348091210088 treat image : temp/1747065148_3363503_1357674673_59c7ddc7414d96ef01ff8bf2ae67d470.jpg resize: (1080, 1632) 1357674673 -2.130100244249169 treat image : temp/1747065148_3363503_1357674668_e6d502950895bd79f51901cf2a97ad96.jpg resize: (1080, 1632) 1357674668 -1.9492865143582612 treat image : temp/1747065148_3363503_1357674664_8f31f381980025909c0008a7fef0069c.jpg resize: (1080, 1632) 1357674664 -3.6580191099573205 treat image : temp/1747065148_3363503_1357674636_a104b1d31c24a30da14b3609fa4906b7.jpg resize: (1080, 1632) 1357674636 -6.589905030194769 treat image : temp/1747065148_3363503_1357674631_9950d806dc0f417ab6526748110b2af7.jpg resize: (1080, 1632) 1357674631 -5.033910698366376 treat image : temp/1747065148_3363503_1357674626_d76f7671611aa6c17493dc78e16bb8a4.jpg resize: (1080, 1632) 1357674626 -6.22750405180772 treat image : temp/1747065148_3363503_1357674624_76af6cf434ec2dec6dfaa35b71637f76.jpg resize: (1080, 1632) 1357674624 -6.195278402481578 treat image : temp/1747065148_3363503_1357674621_86f0009b475992ddabdf82a68de4c51c.jpg resize: (1080, 1632) 1357674621 -3.5003747451023357 treat image : temp/1747065148_3363503_1357674618_287d0f2da1906605f225dd3a76905fa9.jpg resize: (1080, 1632) 1357674618 -3.352756219644643 treat image : temp/1747065148_3363503_1357674581_2cf847c96b891e8bab45fa45bfaebdf4.jpg resize: (1080, 1632) 1357674581 -5.064698211526496 treat image : temp/1747065148_3363503_1357674576_ffe00b4e2e5d4669d8c218bc931a5b8d.jpg resize: (1080, 1632) 1357674576 -6.00763899677264 treat image : temp/1747065148_3363503_1357674571_140bc90cb1b7941ccbc2e43529503eae.jpg resize: (1080, 1632) 1357674571 -1.137591566728274 treat image : temp/1747065148_3363503_1357674567_5dad4aa16e79b2d5673cb683cbddb31b.jpg resize: (1080, 1632) 1357674567 -1.513201364973314 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.012509822845458984 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.011906147003173828 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01588749885559082 save missing photos in datou_result : time spend for datou_step_exec : 16.62235450744629 time spend to save output : 0.04487872123718262 total time spend for step 1 : 16.66723322868347 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 4.55system 0:21.81elapsed 88%CPU (0avgtext+0avgdata 140008maxresident)k 256inputs+9896outputs (14major+255449minor)pagefaults 0swaps