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 : 1557019 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 updating current state to 1 we have a portfolio with more photos than limit : 1884>100 please execute split_portfolio.py -i 26463903 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3655228'] with mtr_portfolio_ids : ['26463903'] and first list_photo_ids : [] new path : /proc/1557019/ 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.7189416885375977 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 Sep 3 09:57: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/1756886247_1557019_1381048887_e874a704b94fc708b594c6383f231ae9_21980063.jpg resize: (1080, 1632) 1381048887 -4.801297681728677 treat image : temp/1756886247_1557019_1381048886_492dce40c22fd120a94c99f774a4658e_2079983.jpg resize: (1080, 1632) 1381048886 -5.143854879900867 treat image : temp/1756886247_1557019_1381048885_966f4e414ce9694cd344e8736b3bc83e_49743045.jpg resize: (1080, 1632) 1381048885 -5.3260429913421445 treat image : temp/1756886247_1557019_1381043912_59f6478ec7fd4f9450cbb67587bff8a6_84964253.jpg resize: (1080, 1632) 1381043912 -0.6698487191282532 treat image : temp/1756886247_1557019_1381043911_7e936c7724a5ea7e2e0c267fcc81041c_7140642.jpg resize: (1080, 1632) 1381043911 -3.539187697460356 treat image : temp/1756886247_1557019_1381043843_ad9a40c4ac6b60afc427a8b2efcefbd0_55059140.jpg resize: (1080, 1632) 1381043843 -5.083758663479489 treat image : temp/1756886247_1557019_1381043842_5a6c336523ea7b150d0aac692f33a7ac_29890297.jpg resize: (1080, 1632) 1381043842 -4.98056698266135 treat image : temp/1756886247_1557019_1381043841_103b0135126145ba849a885f0073f376_69688405.jpg resize: (1080, 1632) 1381043841 -4.704579496763482 treat image : temp/1756886247_1557019_1381043840_3e390c4d10af17c012aef81eaee43df2_33991578.jpg resize: (1080, 1632) 1381043840 -5.498392113783888 treat image : temp/1756886247_1557019_1381043802_ffecf19ac7c9a211b800d50c88cfba77_88794203.jpg resize: (1080, 1632) 1381043802 -6.40524027689005 treat image : temp/1756886247_1557019_1381043801_653289ec68e8d41f492d44a47d7a820a_22351172.jpg resize: (1080, 1632) 1381043801 -6.3160619733635315 treat image : temp/1756886247_1557019_1381043795_b70c7740b819f4f86fcd5bbf1713a51c_64440106.jpg resize: (1080, 1632) 1381043795 -3.774932295396937 treat image : temp/1756886247_1557019_1381043794_56a286f6266d267d239462acc0d5e668_46138770.jpg resize: (1080, 1632) 1381043794 -5.644599324604761 treat image : temp/1756886247_1557019_1381043793_021da488ceecaeb28af73cf56dbc2fbd_17422204.jpg resize: (1080, 1632) 1381043793 -5.647032264099046 treat image : temp/1756886247_1557019_1381043792_a45b7626ee65a6fa1d78c4d2a27e1ec6_55485230.jpg resize: (1080, 1632) 1381043792 -4.5918985920074435 treat image : temp/1756886247_1557019_1381043791_42e8e50821d6c79702a29467f91f632c_70802938.jpg resize: (1080, 1632) 1381043791 -4.641127740992723 treat image : temp/1756886247_1557019_1381043790_4e1c9da0c91289801fa750422971d190_85368035.jpg resize: (1080, 1632) 1381043790 -5.7869655370885935 treat image : temp/1756886247_1557019_1381043768_ffecf19ac7c9a211b800d50c88cfba77_74493993.jpg resize: (1080, 1632) 1381043768 -6.40524027689005 treat image : temp/1756886247_1557019_1381043767_653289ec68e8d41f492d44a47d7a820a_16107039.jpg resize: (1080, 1632) 1381043767 -6.3160619733635315 treat image : temp/1756886247_1557019_1381043766_b70c7740b819f4f86fcd5bbf1713a51c_76969778.jpg resize: (1080, 1632) 1381043766 -3.774932295396937 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.015815019607543945 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.018965959548950195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017116546630859375 save missing photos in datou_result : time spend for datou_step_exec : 17.979387521743774 time spend to save output : 0.056607723236083984 total time spend for step 1 : 18.03599524497986 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 6.39system 0:22.87elapsed 92%CPU (0avgtext+0avgdata 139048maxresident)k 136inputs+10536outputs (3major+258945minor)pagefaults 0swaps