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 : 2055163 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 : 4794>100 please execute split_portfolio.py -i 22406770 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2759758'] with mtr_portfolio_ids : ['22406770'] and first list_photo_ids : [] new path : /proc/2055163/ 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.121067523956299 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 Apr 28 13:42: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/1745840550_2055163_1353911534_93b6f2420c6e4e38af3b175c895d375e.jpg resize: (1080, 1632) 1353911534 -5.795988934513074 treat image : temp/1745840550_2055163_1353911528_c2001fc789d2c728a4b5cb2cf35b926f.jpg resize: (1080, 1632) 1353911528 -3.3574158861318826 treat image : temp/1745840550_2055163_1353911524_c55ee82224703cde4b660e7c06d3baaa.jpg resize: (1080, 1632) 1353911524 -5.770117971799958 treat image : temp/1745840550_2055163_1353911521_126bf025144f01b04e191ec1113e5a64.jpg resize: (1080, 1632) 1353911521 -4.575452896154083 treat image : temp/1745840550_2055163_1353911519_2fabb39a4efeccc6d68c444298127ce5.jpg resize: (1080, 1632) 1353911519 -1.7876362123134493 treat image : temp/1745840550_2055163_1353911515_9fdd8bfd21e47c0b53f8ae8985d7fbea.jpg resize: (1080, 1632) 1353911515 -3.4083653729344245 treat image : temp/1745840550_2055163_1353911370_8dcebd3c5d413a4788b6ae6bc17103f7.jpg resize: (1080, 1632) 1353911370 -5.85811964013258 treat image : temp/1745840550_2055163_1353911090_9a1204f6a1bfa9c3163f389c7f446c18.jpg resize: (1080, 1632) 1353911090 -5.624226523826094 treat image : temp/1745840550_2055163_1353910812_66b7147c0f838279390a4a0f5fe72f88.jpg resize: (1080, 1632) 1353910812 -5.8976863660981715 treat image : temp/1745840550_2055163_1353910692_fb760ba17976202c5861aff56efee2fe.jpg resize: (1080, 1632) 1353910692 -5.658334005352145 treat image : temp/1745840550_2055163_1353910662_a6883a2e601152fbb6d4eefc325dbe89.jpg resize: (1080, 1632) 1353910662 -5.401019725909808 treat image : temp/1745840550_2055163_1353910656_bc5a4f2ebbc4dfa3ec987c422982493d.jpg resize: (1080, 1632) 1353910656 -5.681143078479995 treat image : temp/1745840550_2055163_1353910624_f7c969797628a1b618ff79e2e7270be2.jpg resize: (1080, 1632) 1353910624 -4.843577173332024 treat image : temp/1745840550_2055163_1353910611_1e38e680b99d24c5e2f43cfbab06e6da.jpg resize: (1080, 1632) 1353910611 -5.166476254617529 treat image : temp/1745840550_2055163_1353910586_e1420d22facb2da48a40445e00cf4975.jpg resize: (1080, 1632) 1353910586 -0.5917753310026205 treat image : temp/1745840550_2055163_1353910574_34e5c9fc4ee2749cbbd58cd9c397e529.jpg resize: (1080, 1632) 1353910574 -2.452225059251266 treat image : temp/1745840550_2055163_1353910563_d72d2c7a5b92e938d39933609bc47582.jpg resize: (1080, 1632) 1353910563 -2.3027970794832475 treat image : temp/1745840550_2055163_1353910545_0bf540b7dfae6798348ba09f1b22ec4f.jpg resize: (1080, 1632) 1353910545 -4.03725805244563 treat image : temp/1745840550_2055163_1353909673_a238a375804c2f4e87b4d303c825140b.jpg resize: (1080, 1632) 1353909673 -5.949506391080223 treat image : temp/1745840550_2055163_1353909409_59f3495c0fafadde918f35c4942130b1.jpg resize: (1080, 1632) 1353909409 -4.753889215782371 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.012603044509887695 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.012929201126098633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014921188354492188 save missing photos in datou_result : time spend for datou_step_exec : 18.33039402961731 time spend to save output : 0.12440967559814453 total time spend for step 1 : 18.454803705215454 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.20user 6.14system 0:25.01elapsed 85%CPU (0avgtext+0avgdata 139972maxresident)k 6344inputs+9576outputs (17major+257444minor)pagefaults 0swaps