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 : 1544727 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 : 3708>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1544727/ 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.4982683658599854 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 Wed Jul 2 18:12: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/1751472749_1544727_1369994582_82887587033534330e3ad11fe009c353.jpg resize: (1080, 1632) 1369994582 -6.0363879256660695 treat image : temp/1751472749_1544727_1369994580_50ae33cfac3e951127cacfc344f1b638.jpg resize: (1080, 1632) 1369994580 -6.037981712661961 treat image : temp/1751472749_1544727_1369994579_eebc46e9b810d4d06af06b3d83d7d69a.jpg resize: (1080, 1632) 1369994579 -5.850704985295091 treat image : temp/1751472749_1544727_1369994578_6cc5197804e9f04e1b1ba13ce44d3716.jpg resize: (1080, 1632) 1369994578 -5.810926154591531 treat image : temp/1751472749_1544727_1369972221_116c7ac907a04834475d68c48a4ce714.jpg resize: (1080, 1632) 1369972221 -1.685161572691264 treat image : temp/1751472749_1544727_1369972190_16dd65c18ce8b07afa5d8b64ea2906a0.jpg resize: (1080, 1632) 1369972190 -3.813017476963941 treat image : temp/1751472749_1544727_1369972149_c13771dd8ebed3b8276a536d6553e67e.jpg resize: (1080, 1632) 1369972149 -3.744194090754684 treat image : temp/1751472749_1544727_1369972116_95b40bda69262cda2e98a8bcadd246a6.jpg resize: (1080, 1632) 1369972116 -4.892748492067791 treat image : temp/1751472749_1544727_1369972086_f613e22ede8f7fcac7cdeccf6fa63732.jpg resize: (1080, 1632) 1369972086 -5.8942723109593045 treat image : temp/1751472749_1544727_1369972084_228ee96da75354091869e5e04e2d22f3.jpg resize: (1080, 1632) 1369972084 -3.7087520096660156 treat image : temp/1751472749_1544727_1369971616_1286ea2b75ea8cfd9b84e29a5985b00b.jpg resize: (1080, 1632) 1369971616 -2.416250956600133 treat image : temp/1751472749_1544727_1369971612_8ba4aa877916fbe98297817320277176.jpg resize: (1080, 1632) 1369971612 -2.4596581647485007 treat image : temp/1751472749_1544727_1369971593_eb2829012fc3851f81c06e853abc81c3.jpg resize: (1080, 1632) 1369971593 -2.4874600790627435 treat image : temp/1751472749_1544727_1369971561_f880d8efb0e524a7e3ceb3d4854b4b9a.jpg resize: (1080, 1632) 1369971561 -2.4306690364354253 treat image : temp/1751472749_1544727_1369971492_553688f813c8f12eff20f14e6994e218.jpg resize: (1080, 1632) 1369971492 -5.3150715152663865 treat image : temp/1751472749_1544727_1369971452_6a8816a1ba5edcd3470e6f2e09b78ce4.jpg resize: (1080, 1632) 1369971452 -4.717517039351186 treat image : temp/1751472749_1544727_1369971407_a27308e3e21fb4d5baeeccfa24d5383c.jpg resize: (1080, 1632) 1369971407 -4.609405651431929 treat image : temp/1751472749_1544727_1369971370_924a9bee3b914eb3c4ecd23b781cbc5b.jpg resize: (1080, 1632) 1369971370 -4.779951859608384 treat image : temp/1751472749_1544727_1369971326_bff32e57b63475ab619e592124bc89cd.jpg resize: (1080, 1632) 1369971326 -5.1540168797125805 treat image : temp/1751472749_1544727_1369971274_7e73526fbf2729f9f82b29b50c6059b8.jpg resize: (1080, 1632) 1369971274 -3.55779902252511 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.018001317977905273 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.019124984741210938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01590895652770996 save missing photos in datou_result : time spend for datou_step_exec : 16.88759708404541 time spend to save output : 0.05817413330078125 total time spend for step 1 : 16.94577121734619 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 4.94system 0:23.37elapsed 83%CPU (0avgtext+0avgdata 138220maxresident)k 0inputs+9424outputs (0major+258186minor)pagefaults 0swaps