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 : 2008442 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 : 1728>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2008442/ 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.234471082687378 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 Tue May 20 11:37: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/1747733847_2008442_1359796970_33121d1a4ca5dbd15abdd4459a3d835f.jpg resize: (1080, 1632) 1359796970 -5.2253640480667976 treat image : temp/1747733847_2008442_1359796967_447ce435d6f5723595637cedf45de5ff.jpg resize: (1080, 1632) 1359796967 -4.484474022638301 treat image : temp/1747733847_2008442_1359796962_76aafc3dfc9433d1e22a96c823db6533.jpg resize: (1080, 1632) 1359796962 -5.635172361894161 treat image : temp/1747733847_2008442_1359796957_c7a1124bf9f318a187cf1e4f443c08c4.jpg resize: (1080, 1632) 1359796957 -5.633026919358602 treat image : temp/1747733847_2008442_1359796953_c93bf6c536d489caa5a222e64e1fa97a.jpg resize: (1080, 1632) 1359796953 -4.789112408725992 treat image : temp/1747733847_2008442_1359796934_3b7990cb055e6cad24a4849b5f07c6e7.jpg resize: (1080, 1632) 1359796934 -1.642794268003949 treat image : temp/1747733847_2008442_1359796931_00a091a1399818f13f4a45040399b669.jpg resize: (1080, 1632) 1359796931 -3.5008673323231156 treat image : temp/1747733847_2008442_1359796925_b92acdf837238401ec93e44631c05f84.jpg resize: (1080, 1632) 1359796925 -5.706800294621642 treat image : temp/1747733847_2008442_1359796921_e3b7433cd1be28e14bd0f370879f1108.jpg resize: (1080, 1632) 1359796921 -4.66981991102189 treat image : temp/1747733847_2008442_1359796916_5eafce944c0bf8ab90be19507e20b28e.jpg resize: (1080, 1632) 1359796916 -5.084992283816241 treat image : temp/1747733847_2008442_1359796885_1c4ba6219b1248c55db65a725f68c42f.jpg resize: (1080, 1632) 1359796885 -6.149024214632933 treat image : temp/1747733847_2008442_1359796878_97402d8bf7e70a8731f5293bd72125ee.jpg resize: (1080, 1632) 1359796878 -5.339854957395343 treat image : temp/1747733847_2008442_1359796872_36e074fd3ed6e0aac181415bf89cc2cb.jpg resize: (1080, 1632) 1359796872 -6.327322567519257 treat image : temp/1747733847_2008442_1359796868_609d8a969484f1b3ceb189b27f2c7395.jpg resize: (1080, 1632) 1359796868 -5.017507862731508 treat image : temp/1747733847_2008442_1359796854_a151e19745d206302160c3faf8600f2b.jpg resize: (1080, 1632) 1359796854 -5.869822567274069 treat image : temp/1747733847_2008442_1359796851_e4775c74e18e7465c897a806da26fec3.jpg resize: (1080, 1632) 1359796851 -5.100719022981252 treat image : temp/1747733847_2008442_1359796847_81020201d4ddce4ec2ace33d6e6252b1.jpg resize: (1080, 1632) 1359796847 -5.192207867543606 treat image : temp/1747733847_2008442_1359796842_482e638efbd5348b4bf8fac8bbd0eff9.jpg resize: (1080, 1632) 1359796842 -4.179731474146275 treat image : temp/1747733847_2008442_1359796837_cc54daaf032034214ab7ebf21941ca2b.jpg resize: (1080, 1632) 1359796837 -5.49696171466075 treat image : temp/1747733847_2008442_1359796814_f4a92db3cb1b1cab548adad4bf94287d.jpg resize: (1080, 1632) 1359796814 -1.4763472532315778 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.014519214630126953 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.012884378433227539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016087055206298828 save missing photos in datou_result : time spend for datou_step_exec : 16.382157802581787 time spend to save output : 0.0485842227935791 total time spend for step 1 : 16.430742025375366 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.24user 3.34system 0:20.59elapsed 90%CPU (0avgtext+0avgdata 139832maxresident)k 4680inputs+9856outputs (30major+260385minor)pagefaults 0swaps