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 : 1283816 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1283816/ 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 : 4.131065130233765 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 Apr 9 13:57:33 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/1744199849_1283816_1350665885_cac23259bd3b00d3b10ced74396fd448.jpg resize: (1080, 1632) 1350665885 -5.8153239976601485 treat image : temp/1744199849_1283816_1350665877_c4cbdadafd710751b75c5117ff4de8df.jpg resize: (1080, 1632) 1350665877 -5.957388580656106 treat image : temp/1744199849_1283816_1350665871_056666c76c59a74f5aba28ebffe6c55c.jpg resize: (1080, 1632) 1350665871 -6.481676597351537 treat image : temp/1744199849_1283816_1350665865_36f61951bf6ab87a58830eff9e17b494.jpg resize: (1080, 1632) 1350665865 -5.6264527422420585 treat image : temp/1744199849_1283816_1350665841_fd790f58a2ff86c53d50fda09d230609.jpg resize: (1080, 1632) 1350665841 -0.8199797378940682 treat image : temp/1744199849_1283816_1350665835_639d1d770cbb1fa6ef007f8c8c27f364.jpg resize: (1080, 1632) 1350665835 -2.755046985837097 treat image : temp/1744199849_1283816_1350665830_86d25373e207f6f61edcdc42f88335a1.jpg resize: (1080, 1632) 1350665830 -1.8995784281507317 treat image : temp/1744199849_1283816_1350665825_b95d7625d7d27353aae5d2a4525af432.jpg resize: (1080, 1632) 1350665825 -5.940797119569649 treat image : temp/1744199849_1283816_1350665811_d2f052c1818b1addc7115627d225d8b4.jpg resize: (1080, 1632) 1350665811 -3.8304754595589805 treat image : temp/1744199849_1283816_1350665807_6fadb4cb9e5905f4f3343b050a7da51a.jpg resize: (1080, 1632) 1350665807 -5.452524809554819 treat image : temp/1744199849_1283816_1350665804_ca3a337c52fd7ff53894e3d46531d282.jpg resize: (1080, 1632) 1350665804 -6.023903777468681 treat image : temp/1744199849_1283816_1350665797_36f22b58c47afcb3e90bd5f08df6309d.jpg resize: (1080, 1632) 1350665797 -4.55524172392103 treat image : temp/1744199849_1283816_1350665792_4c29c8b1930d628b6a155abcce7050e6.jpg resize: (1080, 1632) 1350665792 -6.009822115205591 treat image : temp/1744199849_1283816_1350665784_2f7f60da5d58fae7e17566785d5d6e78.jpg resize: (1080, 1632) 1350665784 -4.986744954604974 treat image : temp/1744199849_1283816_1350665765_7d250806695f4c302f90b2cae1902429.jpg resize: (1080, 1632) 1350665765 -3.675498400828116 treat image : temp/1744199849_1283816_1350665757_df87a57c9fe8402b743009f7f2a10dac.jpg resize: (1080, 1632) 1350665757 -5.076967590284628 treat image : temp/1744199849_1283816_1350665750_3e35a5c47c06907ffb9e71b07d0f9088.jpg resize: (1080, 1632) 1350665750 -6.157537615940315 treat image : temp/1744199849_1283816_1350665745_e53f4195c188a874c67ee84bd66dc504.jpg resize: (1080, 1632) 1350665745 -6.143913726109693 treat image : temp/1744199849_1283816_1350665738_3db25890d09124e16da312655f0f649d.jpg resize: (1080, 1632) 1350665738 -5.622168184710109 treat image : temp/1744199849_1283816_1350665706_9a83961930c5ce25a34b41c1e1fd74dc.jpg resize: (1080, 1632) 1350665706 -5.227884006603281 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.014764785766601562 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.01294088363647461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014899969100952148 save missing photos in datou_result : time spend for datou_step_exec : 16.538525581359863 time spend to save output : 0.05076789855957031 total time spend for step 1 : 16.589293479919434 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 5.03system 0:23.67elapsed 80%CPU (0avgtext+0avgdata 138804maxresident)k 112inputs+10528outputs (0major+254376minor)pagefaults 0swaps