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 : 1914951 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 : 2835>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/1914951/ 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.4872307777404785 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 Feb 5 03:37: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/1738723049_1914951_1334747680_a73b6831fce37143f741ca1adc8f0175.jpg resize: (1080, 1632) 1334747680 -6.205779026299048 treat image : temp/1738723049_1914951_1334747678_5afe1cb1ce88a5c858239dc61922c8a7.jpg resize: (1080, 1632) 1334747678 -5.1928679493979715 treat image : temp/1738723049_1914951_1334747677_654b8fed732fafd26266526e9cc24602.jpg resize: (1080, 1632) 1334747677 -4.487339771537132 treat image : temp/1738723049_1914951_1334747637_537aa6fe9fb5f460110f117db481ee6e.jpg resize: (1080, 1632) 1334747637 -6.027309414215528 treat image : temp/1738723049_1914951_1334747636_af9d63cbcebca54978eea9f8bc11f914.jpg resize: (1080, 1632) 1334747636 -5.501255037519108 treat image : temp/1738723049_1914951_1334747634_f9ab3a3a6ef5e7e56f3c347172ce5975.jpg resize: (1080, 1632) 1334747634 -6.138280062026624 treat image : temp/1738723049_1914951_1334747581_763494a9e5761912813bed16839249cc.jpg resize: (1080, 1632) 1334747581 -5.934667640602381 treat image : temp/1738723049_1914951_1334747574_bdbd9dc64465f8207b5bdecb6811fa65.jpg resize: (1080, 1632) 1334747574 -5.288168311893817 treat image : temp/1738723049_1914951_1334747560_8aad1c30078cb1e127bd1a0481c7e7c2.jpg resize: (1080, 1632) 1334747560 -5.583749033553079 treat image : temp/1738723049_1914951_1334747551_6fccd6a1af9e9b8aef2a22bc30bc1060.jpg resize: (1080, 1632) 1334747551 -5.68014647297023 treat image : temp/1738723049_1914951_1334747550_828f508ac5602e9e40d71368f55c7473.jpg resize: (1080, 1632) 1334747550 -5.374841274188527 treat image : temp/1738723049_1914951_1334747547_c16298cc831cee39d5e48d1653e3f587.jpg resize: (1080, 1632) 1334747547 -5.667917085170592 treat image : temp/1738723049_1914951_1334747515_d90f0064eb6f084f34f25ed7939bcd00.jpg resize: (1080, 1632) 1334747515 -2.14791756161497 treat image : temp/1738723049_1914951_1334747514_4460c9ee2e84194e29b4dc86f427597d.jpg resize: (1080, 1632) 1334747514 -2.8125560962535467 treat image : temp/1738723049_1914951_1334747513_1dfb38231c992c5431b8e81a98d5462c.jpg resize: (1080, 1632) 1334747513 -4.491693696714973 treat image : temp/1738723049_1914951_1334747505_81d17fd477bdcb413b6998e16252c92d.jpg resize: (1080, 1632) 1334747505 -5.080752352501826 treat image : temp/1738723049_1914951_1334747479_52274b2cae51a927977e8244a1a38545.jpg resize: (1080, 1632) 1334747479 -5.47566505605771 treat image : temp/1738723049_1914951_1334747476_a26ce68bb0ced344822cff6cad0264eb.jpg resize: (1080, 1632) 1334747476 -5.195448627784845 treat image : temp/1738723049_1914951_1334747202_60ba99a4cb0432e5142904cfff4bb684.jpg resize: (1080, 1632) 1334747202 -5.668128938553213 treat image : temp/1738723049_1914951_1334747200_56dba1e7318b9aedd47b55c44b8b5763.jpg resize: (1080, 1632) 1334747200 -5.676367278819387 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.015783309936523438 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.2329399585723877 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016907453536987305 save missing photos in datou_result : time spend for datou_step_exec : 13.936590909957886 time spend to save output : 0.2705996036529541 total time spend for step 1 : 14.20719051361084 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 2.11system 0:20.70elapsed 81%CPU (0avgtext+0avgdata 137992maxresident)k 3032inputs+10512outputs (35major+120652minor)pagefaults 0swaps