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 : 2613784 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 : 1591>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2613784/ 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.205035448074341 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 Fri May 16 07:37:32 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/1747373850_2613784_1358844874_770336cde51fe542168e0976294582ee.jpg resize: (1080, 1632) 1358844874 -1.9029696366698117 treat image : temp/1747373850_2613784_1358844869_73b1d48c93f36de633d31c08aaf65da9.jpg resize: (1080, 1632) 1358844869 -2.132672643293988 treat image : temp/1747373850_2613784_1358844864_b1233cef5847cf458dde304662fab39a.jpg resize: (1080, 1632) 1358844864 -5.545969212873501 treat image : temp/1747373850_2613784_1358844858_546091790d6fdfd1efea540d6066a4a0.jpg resize: (1080, 1632) 1358844858 -6.1576919281943026 treat image : temp/1747373850_2613784_1358844820_33ea6808b819bf6128fb76f709020e1b.jpg resize: (1080, 1632) 1358844820 -5.775745206822409 treat image : temp/1747373850_2613784_1358844815_98f02e795b25d623eae1bc9404935ba3.jpg resize: (1080, 1632) 1358844815 -5.188794244639582 treat image : temp/1747373850_2613784_1358844810_ad6af766ced26239532feeb35772a5e4.jpg resize: (1080, 1632) 1358844810 -5.806542602427416 treat image : temp/1747373850_2613784_1358844804_52c4fd729bfa559875779a2706dec1d9.jpg resize: (1080, 1632) 1358844804 -3.6857288389985357 treat image : temp/1747373850_2613784_1358844798_ac24fd0cf09eb6a300939f8b5173b794.jpg resize: (1080, 1632) 1358844798 -0.41228779395056103 treat image : temp/1747373850_2613784_1358844765_14742df3492f7a0e86cbe153c63f65c1.jpg resize: (1080, 1632) 1358844765 -6.1879763653201225 treat image : temp/1747373850_2613784_1358844761_b3a95ce3d3eb562101bc4866a96c4c78.jpg resize: (1080, 1632) 1358844761 -5.55409854884189 treat image : temp/1747373850_2613784_1358844757_e56c2903dd57006280250038c7d6f070.jpg resize: (1080, 1632) 1358844757 -5.09061869364963 treat image : temp/1747373850_2613784_1358844753_468206b2c0aa52c5646f5b30af2a8b1e.jpg resize: (1080, 1632) 1358844753 -5.497338359910365 treat image : temp/1747373850_2613784_1358844749_48e5d3b390194cad27a687e8a0851086.jpg resize: (1080, 1632) 1358844749 -5.490588393785033 treat image : temp/1747373850_2613784_1358844716_a5ffba4d96a75da7de5f7b91d03c261f.jpg resize: (1080, 1632) 1358844716 -2.9897973977877546 treat image : temp/1747373850_2613784_1358844710_7e10690c5727243ca984b5e2a0328aab.jpg resize: (1080, 1632) 1358844710 -1.185266443705002 treat image : temp/1747373850_2613784_1358844705_8eb3dead8dfc8bc6b6b831fa47ea9cf0.jpg resize: (1080, 1632) 1358844705 -3.4007388530806058 treat image : temp/1747373850_2613784_1358844693_bc4b5b84dae37a6e3ab82b273f5c00e0.jpg resize: (1080, 1632) 1358844693 -5.699899557177218 treat image : temp/1747373850_2613784_1358844688_346c94c6778ff3bedbcea64505286864.jpg resize: (1080, 1632) 1358844688 -6.17694480323687 treat image : temp/1747373850_2613784_1358844643_4e089567d5e6da5663b9d43bc09dd5af.jpg resize: (1080, 1632) 1358844643 -4.376922108455585 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.013816356658935547 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.10300540924072266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.27382636070251465 save missing photos in datou_result : time spend for datou_step_exec : 18.528545379638672 time spend to save output : 0.39523768424987793 total time spend for step 1 : 18.92378306388855 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 6.14system 0:24.90elapsed 84%CPU (0avgtext+0avgdata 139940maxresident)k 376inputs+9576outputs (18major+256959minor)pagefaults 0swaps