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 : 3795734 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 : 3090>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3795734/ 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.8711421489715576 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 Mon May 12 20:27: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/1747074449_3795734_1357717170_961812de31c9d075d4e1f6b82f805f6d.jpg resize: (1080, 1632) 1357717170 -5.836824507096269 treat image : temp/1747074449_3795734_1357694118_f956985342ef83d547be72d41d0a43c0.jpg resize: (1080, 1632) 1357694118 -5.224267786902698 treat image : temp/1747074449_3795734_1357694088_9fe53234bd72b823ea59ab7a2042d84c.jpg resize: (1080, 1632) 1357694088 -4.252935948674417 treat image : temp/1747074449_3795734_1357694060_91dd24b1e2511f5359a81d131de3156d.jpg resize: (1080, 1632) 1357694060 -5.182858569552881 treat image : temp/1747074449_3795734_1357692613_64930426b44d9c9ae7b27208f358e130.jpg resize: (1080, 1632) 1357692613 -3.321539995809616 treat image : temp/1747074449_3795734_1357691554_c668ffc1684b89b9a906a323c165b671.jpg resize: (1080, 1632) 1357691554 -4.619545305993721 treat image : temp/1747074449_3795734_1357691549_e713a5647d019f745bd84b26518c9e27.jpg resize: (1080, 1632) 1357691549 -1.855043314737746 treat image : temp/1747074449_3795734_1357691547_09ee69aca223777ba98dfce0d5793be4.jpg resize: (1080, 1632) 1357691547 -3.680358191053245 treat image : temp/1747074449_3795734_1357691381_e3d4f29e76d83f4401d703e1d8084db0.jpg resize: (1080, 1632) 1357691381 -6.188285646748938 treat image : temp/1747074449_3795734_1357691356_ce9906fd439d749c02f3063bb504d7a1.jpg resize: (1080, 1632) 1357691356 -4.067128756379401 treat image : temp/1747074449_3795734_1357691331_a59a684399c945c0ba4718bda96a7d91.jpg resize: (1080, 1632) 1357691331 -5.822362136153548 treat image : temp/1747074449_3795734_1357691303_00ac7bce62e45beba4dd4e66ec5e5653.jpg resize: (1080, 1632) 1357691303 -3.5806762258662066 treat image : temp/1747074449_3795734_1357691253_2b66f04f43356528d2d7be1e12d947a2.jpg resize: (1080, 1632) 1357691253 -6.447205017949431 treat image : temp/1747074449_3795734_1357691204_dca9b90976f59bbcb4f55e2c096cc368.jpg resize: (1080, 1632) 1357691204 -5.982696822893964 treat image : temp/1747074449_3795734_1357690482_1804c08e77b7f86226ec02763a09546a.jpg resize: (1080, 1632) 1357690482 -5.149216228099613 treat image : temp/1747074449_3795734_1357690442_4a109dc694ed74e1435810c978930bac.jpg resize: (1080, 1632) 1357690442 -5.715174570311131 treat image : temp/1747074449_3795734_1357690440_ed18ae0ddf048c070c1bd50b93c1f94c.jpg resize: (1080, 1632) 1357690440 -1.8088808067303885 treat image : temp/1747074449_3795734_1357690429_ff07ebec2b01cfdd0bf68709a1fba070.jpg resize: (1080, 1632) 1357690429 -4.097184105612295 treat image : temp/1747074449_3795734_1357688633_84eac9a54326238c91139529687ef0c7.jpg resize: (1080, 1632) 1357688633 -5.893112921919654 treat image : temp/1747074449_3795734_1357688483_bb60acef586e4e881ec703b41f74e515.jpg resize: (1080, 1632) 1357688483 -4.047202723988522 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.01386404037475586 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.013951539993286133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015744686126708984 save missing photos in datou_result : time spend for datou_step_exec : 16.864744901657104 time spend to save output : 0.04814600944519043 total time spend for step 1 : 16.912890911102295 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 4.06system 0:23.69elapsed 80%CPU (0avgtext+0avgdata 139712maxresident)k 368inputs+10256outputs (2major+239788minor)pagefaults 0swaps