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 : 3484822 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 : 2142>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3484822/ 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 : 1.971552848815918 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 Sat Mar 22 04:07: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/1742612847_3484822_1346331454_b173b18e7ad476a25c5f3f6606eed0ab.jpg resize: (1080, 1632) 1346331454 -6.446359389693374 treat image : temp/1742612847_3484822_1346331448_bccacd30d377fec47ac0d229059580b8.jpg resize: (1080, 1632) 1346331448 -2.4728587826382236 treat image : temp/1742612847_3484822_1346331442_ee18bf48a388129474f70bd0a5e9d1d8.jpg resize: (1080, 1632) 1346331442 -2.611109827817681 treat image : temp/1742612847_3484822_1346331428_e2a4afa083ad58b26fdac658b9d4524b.jpg resize: (1080, 1632) 1346331428 -2.995020091622949 treat image : temp/1742612847_3484822_1346331398_1da34071b47ac72be0c42539d8453d33.jpg resize: (1080, 1632) 1346331398 -5.884360186241594 treat image : temp/1742612847_3484822_1346331370_28876d6ad460609efe63bd95596ec64a.jpg resize: (1080, 1632) 1346331370 -6.671463288440241 treat image : temp/1742612847_3484822_1346331272_f129c9fc3536d89889996ad27505cd03.jpg resize: (1080, 1632) 1346331272 -6.74471666351865 treat image : temp/1742612847_3484822_1346331247_97640640ed8e55a8068d4774316fda6e.jpg resize: (1080, 1632) 1346331247 -6.328422772459385 treat image : temp/1742612847_3484822_1346331219_9de3015bf66f9cdbf54c37cb1ae58932.jpg resize: (1080, 1632) 1346331219 -6.004479590055561 treat image : temp/1742612847_3484822_1346331185_453915193580868549109fd1aa9631ff.jpg resize: (1080, 1632) 1346331185 -6.606328809764746 treat image : temp/1742612847_3484822_1346331159_561b3cfba2a5a431e441de61ec01c9d5.jpg resize: (1080, 1632) 1346331159 -5.476633873385959 treat image : temp/1742612847_3484822_1346331133_376ed15e5f2c53788d5e93e2a004e26a.jpg resize: (1080, 1632) 1346331133 -6.463301314078309 treat image : temp/1742612847_3484822_1346330161_d1dd4ed58985fbf68994e21f8a5a47b8.jpg resize: (1080, 1632) 1346330161 -4.575837370906971 treat image : temp/1742612847_3484822_1346330129_6d368938a95e9e2aea5e81cc2f926c86.jpg resize: (1080, 1632) 1346330129 -5.698462187640062 treat image : temp/1742612847_3484822_1346330096_cf6a2bd33d509eafc831f73790a79a83.jpg resize: (1080, 1632) 1346330096 -5.495028427924288 treat image : temp/1742612847_3484822_1346330063_b5b7bbc6c32b56f0d869681f26d53b60.jpg resize: (1080, 1632) 1346330063 -5.13057959569014 treat image : temp/1742612847_3484822_1346329962_56b192cbca3db834dd3e64bb5a85fa1c.jpg resize: (1080, 1632) 1346329962 -5.731489110216509 treat image : temp/1742612847_3484822_1346329930_d4e49be80a1ecb7d9b5991563d61d37d.jpg resize: (1080, 1632) 1346329930 -5.872957513025285 treat image : temp/1742612847_3484822_1346329902_e1764b33761bfc319dafec55d352a4ba.jpg resize: (1080, 1632) 1346329902 -5.889259409047244 treat image : temp/1742612847_3484822_1346329876_ea61c05d6be163ac915ecfbdea626305.jpg resize: (1080, 1632) 1346329876 -5.5978526422942405 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.018607139587402344 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.03229498863220215 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03165173530578613 save missing photos in datou_result : time spend for datou_step_exec : 15.91875958442688 time spend to save output : 0.08739852905273438 total time spend for step 1 : 16.006158113479614 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.49system 0:20.84elapsed 90%CPU (0avgtext+0avgdata 139228maxresident)k 0inputs+11608outputs (19major+250653minor)pagefaults 0swaps