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 : 4072437 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 : 3150>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/4072437/ 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.204819679260254 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 22:17: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/1747081048_4072437_1357733961_60912627174d0e7ca17bfc8b37907ebb.jpg resize: (1080, 1632) 1357733961 -4.387744443156166 treat image : temp/1747081048_4072437_1357733958_85004e1c431bb30b13d2d5ac2516b625.jpg resize: (1080, 1632) 1357733958 -5.795265507965007 treat image : temp/1747081048_4072437_1357733955_f1daa6afdfddeccb66dab16522a4da82.jpg resize: (1080, 1632) 1357733955 -5.11784899025856 treat image : temp/1747081048_4072437_1357733952_3cbbe6f6c44f44c26933c12dfd9463de.jpg resize: (1080, 1632) 1357733952 -5.592491278939327 treat image : temp/1747081048_4072437_1357733601_6641cbbb0db0a63e233a3a4f828317e2.jpg resize: (1080, 1632) 1357733601 -5.581610315364516 treat image : temp/1747081048_4072437_1357733577_c150b38bb93b7a4977613fc633bd5827.jpg resize: (1080, 1632) 1357733577 -1.577294436623765 treat image : temp/1747081048_4072437_1357733554_37aafed6636272b37eee554136574d5b.jpg resize: (1080, 1632) 1357733554 -1.824098442866482 treat image : temp/1747081048_4072437_1357733546_e97b79e532b872bdc61739cac0c58021.jpg resize: (1080, 1632) 1357733546 -4.662724213769612 treat image : temp/1747081048_4072437_1357733543_a33fa07b04fe6e7c6acfa613c0640a7a.jpg resize: (1080, 1632) 1357733543 -5.961246560962825 treat image : temp/1747081048_4072437_1357733540_9420fde91d9dba2cc66a1626d36f51d3.jpg resize: (1080, 1632) 1357733540 -5.145288502045438 treat image : temp/1747081048_4072437_1357733512_b46f23ed1c995174b063fc62b8ad4857.jpg resize: (1080, 1632) 1357733512 -5.491717167443432 treat image : temp/1747081048_4072437_1357733452_d0149694923577882e9d72de8342ca70.jpg resize: (1080, 1632) 1357733452 -5.595515861673646 treat image : temp/1747081048_4072437_1357733416_6c33ed14b34a5ed229650181723e11dc.jpg resize: (1080, 1632) 1357733416 -5.949346142391756 treat image : temp/1747081048_4072437_1357732951_2f4b38bfbc897a0b9304de5ce1e1b64c.jpg resize: (1080, 1632) 1357732951 -2.3917983880551006 treat image : temp/1747081048_4072437_1357732924_125bdf7d401138104b75c17527a31576.jpg resize: (1080, 1632) 1357732924 -3.364988677216688 treat image : temp/1747081048_4072437_1357732894_0a8e05761ffdccbe9abeeb12e2e157eb.jpg resize: (1080, 1632) 1357732894 -5.12913454586911 treat image : temp/1747081048_4072437_1357732867_9b330a90774ff9a4b4806d5af38d7d9d.jpg resize: (1080, 1632) 1357732867 -6.224683725133925 treat image : temp/1747081048_4072437_1357732769_75f72641f57accf8e2d38b3edd439af4.jpg resize: (1080, 1632) 1357732769 -5.3309679499462606 treat image : temp/1747081048_4072437_1357732465_8c7947b88c18715075333d3dc713de4d.jpg resize: (1080, 1632) 1357732465 -5.618175399304159 treat image : temp/1747081048_4072437_1357732416_8583ce142ac55acb3ef13d9cfd775397.jpg resize: (1080, 1632) 1357732416 -5.858643120040856 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.013633966445922852 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.014875650405883789 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015240192413330078 save missing photos in datou_result : time spend for datou_step_exec : 17.805917978286743 time spend to save output : 0.04902195930480957 total time spend for step 1 : 17.854939937591553 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 5.77system 0:23.00elapsed 88%CPU (0avgtext+0avgdata 140988maxresident)k 104inputs+9960outputs (13major+255447minor)pagefaults 0swaps