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 : 1507590 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 : 2800>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1507590/ 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.5691134929656982 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 Thu Sep 4 18:37: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/1757003848_1507590_1381469240_12e9dd27c57baa1cfc2453bd8fef1032_1848553.jpg resize: (1080, 1632) 1381469240 -2.874730159713445 treat image : temp/1757003848_1507590_1381469239_963581dc2e84f9ac5229cc7eb9e75598_77601745.jpg resize: (1080, 1632) 1381469239 -4.183731033674269 treat image : temp/1757003848_1507590_1381469238_51927ee6066423bdebe8fc95ec92692a_32885740.jpg resize: (1080, 1632) 1381469238 -4.2547191052865525 treat image : temp/1757003848_1507590_1381469237_65cdf1e08e7f0a3a0a6c4259b822beb5_85764684.jpg resize: (1080, 1632) 1381469237 -2.8491636919227386 treat image : temp/1757003848_1507590_1381469236_a165ab673725061541e4a054f6835d47_35751753.jpg resize: (1080, 1632) 1381469236 -5.205932108833584 treat image : temp/1757003848_1507590_1381469148_9792fcc1aefc5ade6538d1492c8a8581_471312.jpg resize: (1080, 1632) 1381469148 -1.471221444008729 treat image : temp/1757003848_1507590_1381469146_e7c5de7399d48b594f4151fa364ff3f2_86943658.jpg resize: (1080, 1632) 1381469146 -2.2862025234537087 treat image : temp/1757003848_1507590_1381469144_ff982be69f9b0bb300ee7d45601fed7a_14755993.jpg resize: (1080, 1632) 1381469144 -2.834172444426635 treat image : temp/1757003848_1507590_1381446786_69796145975ea6493cdf961c8367cebf_73875151.jpg resize: (1080, 1632) 1381446786 -4.790470143239905 treat image : temp/1757003848_1507590_1381446783_d5b2df7c8974f82378170c09b19dd4e7_40856613.jpg resize: (1080, 1632) 1381446783 -5.1779762152520545 treat image : temp/1757003848_1507590_1381446731_6d16b688d789e6e7e508e1596438e82a_63239172.jpg resize: (1080, 1632) 1381446731 -1.2192897034392618 treat image : temp/1757003848_1507590_1381446729_6d16b688d789e6e7e508e1596438e82a_63239172.jpg resize: (1080, 1632) 1381446729 -1.2192897034392618 treat image : temp/1757003848_1507590_1381446727_a44e2ab1c7d3d7c793a13b72db17bbb1_51033859.jpg resize: (1080, 1632) 1381446727 -3.1055112315751194 treat image : temp/1757003848_1507590_1381446725_a44e2ab1c7d3d7c793a13b72db17bbb1_51033859.jpg resize: (1080, 1632) 1381446725 -3.1055112315751194 treat image : temp/1757003848_1507590_1381446724_15b95d9818594304ba834b20590520bb_64874709.jpg resize: (1080, 1632) 1381446724 -5.425606954893097 treat image : temp/1757003848_1507590_1381446722_15b95d9818594304ba834b20590520bb_64874709.jpg resize: (1080, 1632) 1381446722 -5.425606954893097 treat image : temp/1757003848_1507590_1381446720_aa7eadfb35dc3753ae4e626b2c58de3d_83581186.jpg resize: (1080, 1632) 1381446720 -5.8633035428380165 treat image : temp/1757003848_1507590_1381446718_aa7eadfb35dc3753ae4e626b2c58de3d_83581186.jpg resize: (1080, 1632) 1381446718 -5.8633035428380165 treat image : temp/1757003848_1507590_1381446717_6eadb995ecfe6f18db8768b02134d54b_64515654.jpg resize: (1080, 1632) 1381446717 -5.86414190007851 treat image : temp/1757003848_1507590_1381446715_6eadb995ecfe6f18db8768b02134d54b_64515654.jpg resize: (1080, 1632) 1381446715 -5.86414190007851 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.028727054595947266 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.02691793441772461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028506755828857422 save missing photos in datou_result : time spend for datou_step_exec : 17.829694509506226 time spend to save output : 0.09694457054138184 total time spend for step 1 : 17.926639080047607 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 4.01system 0:24.57elapsed 75%CPU (0avgtext+0avgdata 141276maxresident)k 176inputs+8848outputs (16major+260250minor)pagefaults 0swaps