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 : 3682362 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/3682362/ 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 : 3.0776665210723877 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 Mar 25 21:42: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/1742935348_3682362_1333503088_d27b6ab67b04a3ea32a7cea932838021.jpg resize: (1080, 1632) 1333503088 1.0944277902781525 treat image : temp/1742935348_3682362_1333503086_d3422146f1e85375857b5d798f0e0f5e.jpg resize: (1080, 1632) 1333503086 1.0292900353675696 treat image : temp/1742935348_3682362_1333503084_369f427cb2932868d3ecb3715b7ec6a3.jpg resize: (1080, 1632) 1333503084 2.9210363478856634 treat image : temp/1742935348_3682362_1333503028_0bf303b93842fac609b8192c23888593.jpg resize: (1080, 1632) 1333503028 2.106194256490762 treat image : temp/1742935348_3682362_1333503027_7feb16f80e909b1e9d6a7cc9be52c1fe.jpg resize: (1080, 1632) 1333503027 2.082357264084299 treat image : temp/1742935348_3682362_1333502486_fdd2062f5048a039add12281e1565310.jpg resize: (1080, 1632) 1333502486 2.7374001358243234 treat image : temp/1742935348_3682362_1333502483_6bd3193e259a1a7b24e7bacfd3b57128.jpg resize: (1080, 1632) 1333502483 6.2805645314308585 treat image : temp/1742935348_3682362_1333502480_f4c65b4668d1b8e20a82b3bdff4a01da.jpg resize: (1080, 1632) 1333502480 0.4747366206202569 treat image : temp/1742935348_3682362_1333502477_057a003537c82ba97100284e3a03c174.jpg resize: (1080, 1632) 1333502477 1.7183349272518487 treat image : temp/1742935348_3682362_1333502475_b5c6aeac46b1155ee3d3687e33f648ed.jpg resize: (1080, 1632) 1333502475 -0.21542985305839477 treat image : temp/1742935348_3682362_1333502472_26c09c4e17a1d38def455b8afc1c72f9.jpg resize: (1080, 1632) 1333502472 1.1502288882243714 treat image : temp/1742935348_3682362_1333502444_7545468753a55f9f6bbf9749c05bac3c.jpg resize: (1080, 1632) 1333502444 2.4303021096094723 treat image : temp/1742935348_3682362_1333502439_4adcd669402480906fd758deb5611c28.jpg resize: (1080, 1632) 1333502439 2.6873708038342565 treat image : temp/1742935348_3682362_1333502435_ceb8e73b5d75b8427b0f3ed1c0cd1095.jpg resize: (1080, 1632) 1333502435 2.2647663864807606 treat image : temp/1742935348_3682362_1333502433_f2c1499ff8d148c6c8d3c3b2fe744638.jpg resize: (1080, 1632) 1333502433 2.3888377869164903 treat image : temp/1742935348_3682362_1333502431_1b61c8a6946f002a34fcc28644ee8f89.jpg resize: (1080, 1632) 1333502431 4.838236600726889 treat image : temp/1742935348_3682362_1333502428_a40601580430d3aaed890333b3092ff2.jpg resize: (1080, 1632) 1333502428 4.524904552062179 treat image : temp/1742935348_3682362_1333502073_3aee76fb27d413317ec5b53be291b1e7.jpg resize: (1080, 1632) 1333502073 4.563966520495355 treat image : temp/1742935348_3682362_1333501902_a03d6f9418472e0eb2eff6c4893ce44f.jpg resize: (1080, 1632) 1333501902 0.6421518376837616 treat image : temp/1742935348_3682362_1333501740_6d79a50e699826000df5252b3815f0ad.jpg resize: (1080, 1632) 1333501740 0.16417685495892376 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.01477503776550293 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.3158290386199951 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016997575759887695 save missing photos in datou_result : time spend for datou_step_exec : 15.851572275161743 time spend to save output : 0.3524594306945801 total time spend for step 1 : 16.204031705856323 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 3.94system 0:23.08elapsed 80%CPU (0avgtext+0avgdata 136520maxresident)k 168inputs+3256outputs (1major+259570minor)pagefaults 0swaps