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 : 803414 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 : 2383>100 please execute split_portfolio.py -i 22246422 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2741568'] with mtr_portfolio_ids : ['22246422'] and first list_photo_ids : [] new path : /proc/803414/ 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.3645613193511963 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 Fri Apr 11 16:47:29 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/1744382847_803414_1351756809_e46c791497f71d879ca67db2f81c6d85.jpg resize: (1080, 1632) 1351756809 -6.235493117479985 treat image : temp/1744382847_803414_1351756773_516ea439010e0e1952aadec41137f084.jpg resize: (1080, 1632) 1351756773 -4.258728352505658 treat image : temp/1744382847_803414_1351756747_0b23d0f896ac047830923a938e7ee0ac.jpg resize: (1080, 1632) 1351756747 -5.989812559051493 treat image : temp/1744382847_803414_1351756732_04eadfe57c036412ae6c89f0f5f2544e.jpg resize: (1080, 1632) 1351756732 -5.494147013227624 treat image : temp/1744382847_803414_1351756660_6547953a9bedce97ee92ceace4b384ca.jpg resize: (1080, 1632) 1351756660 -0.7694278699083631 treat image : temp/1744382847_803414_1351756654_96655d862db1a9ee33fd69dbb3041e63.jpg resize: (1080, 1632) 1351756654 -4.5041345477894446 treat image : temp/1744382847_803414_1351756528_427e6152d563499e34300e553b6429a7.jpg resize: (1080, 1632) 1351756528 -5.278997886786677 treat image : temp/1744382847_803414_1351756293_6874971fa80849756ce1f527e977593b.jpg resize: (1080, 1632) 1351756293 -5.6737047212061436 treat image : temp/1744382847_803414_1351756130_0344b5c2cf76132692eea3e10597a9ce.jpg resize: (1080, 1632) 1351756130 -5.625857861983734 treat image : temp/1744382847_803414_1351753920_aad3ad6c36db6856f03ce8d6bc908b7d.jpg resize: (1080, 1632) 1351753920 -5.3497720913492195 treat image : temp/1744382847_803414_1351752453_626cd6dc8ce1747a394b224f4ed26133.jpg resize: (1080, 1632) 1351752453 -6.155113893296975 treat image : temp/1744382847_803414_1351752422_b83f2a336996d903f9c289c3b84df9ce.jpg resize: (1080, 1632) 1351752422 -1.6626025457449138 treat image : temp/1744382847_803414_1351752394_e9a0377471b8a26b5936dd94cbf84156.jpg resize: (1080, 1632) 1351752394 -1.9166453464394493 treat image : temp/1744382847_803414_1351752355_7ae8334b9b00071b8b264847644a906d.jpg resize: (1080, 1632) 1351752355 -1.2401110435514557 treat image : temp/1744382847_803414_1351752216_748898a73c3b6e9d2bd094dc0d304b79.jpg resize: (1080, 1632) 1351752216 -5.7318927185775035 treat image : temp/1744382847_803414_1351752184_fdef95786fa56095948fa060407b5ca1.jpg resize: (1080, 1632) 1351752184 -6.218991292164189 treat image : temp/1744382847_803414_1351752149_02c4d4a2c43b7f909966e323dddc5101.jpg resize: (1080, 1632) 1351752149 -6.302105906053003 treat image : temp/1744382847_803414_1351752057_a9335607f3e2e5ceb88755c4f9d5d22f.jpg resize: (1080, 1632) 1351752057 -4.07445165028073 treat image : temp/1744382847_803414_1351752009_17d58739fa153b2e6beab86b4e10811f.jpg resize: (1080, 1632) 1351752009 -1.8247783947367444 treat image : temp/1744382847_803414_1351751883_ce9bdde929e420818bc1cb980b7578a5.jpg resize: (1080, 1632) 1351751883 -2.8046379412664035 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.013623476028442383 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 : 7.613574266433716 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014909982681274414 save missing photos in datou_result : time spend for datou_step_exec : 16.96134090423584 time spend to save output : 7.647543430328369 total time spend for step 1 : 24.60888433456421 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 5.24system 0:29.72elapsed 66%CPU (0avgtext+0avgdata 140788maxresident)k 2032inputs+9976outputs (11major+262716minor)pagefaults 0swaps