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 : 1613760 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 : 598>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1613760/ 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.185715436935425 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 Thu May 22 07:22: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/1747891348_1613760_1360424984_7c6a8013d11b0a8e9d0ed7286561b1c0.jpg resize: (1080, 1632) 1360424984 -5.547596061406441 treat image : temp/1747891348_1613760_1360424982_7c56ad481118c14644b1c2145e005766.jpg resize: (1080, 1632) 1360424982 -5.612328884790768 treat image : temp/1747891348_1613760_1360424945_7e7a66b5f0661d596fe8cb214e76bdf0.jpg resize: (1080, 1632) 1360424945 -5.560327395085024 treat image : temp/1747891348_1613760_1360424791_8da8cb3abe1a3c5d64f83891b9b366dc.jpg resize: (1080, 1632) 1360424791 -4.588965002832952 treat image : temp/1747891348_1613760_1360424604_f430eca2a8cdece40469dbc7755d17cf.jpg resize: (1080, 1632) 1360424604 -5.051508995501651 treat image : temp/1747891348_1613760_1360424582_adf56d88475cdc1da28a67494855a2f2.jpg resize: (1080, 1632) 1360424582 -5.22068793843518 treat image : temp/1747891348_1613760_1360424580_8a3fb335699d0db90dcbfa6f83e8801f.jpg resize: (1080, 1632) 1360424580 -5.213624844552902 treat image : temp/1747891348_1613760_1360424552_13440c00ad692fd0f390376b671076af.jpg resize: (1080, 1632) 1360424552 -5.389626108551152 treat image : temp/1747891348_1613760_1360424391_a6ab5dcd558de0c33b79d779b0fb5277.jpg resize: (1080, 1632) 1360424391 -1.4593466364127579 treat image : temp/1747891348_1613760_1360424364_e51becad768988f326937b6ff8a75f22.jpg resize: (1080, 1632) 1360424364 -3.7777471016563893 treat image : temp/1747891348_1613760_1360424337_243db93d3c79fa5826f1d1e4a1a51aad.jpg resize: (1080, 1632) 1360424337 -1.60971841575558 treat image : temp/1747891348_1613760_1360424307_e5b2f7d6144572e9b9d464619f6af2f3.jpg resize: (1080, 1632) 1360424307 -3.6294193422861016 treat image : temp/1747891348_1613760_1360423900_9a9cfe1f285ed92b2495f5a122735521.jpg resize: (1080, 1632) 1360423900 -1.8590473803558045 treat image : temp/1747891348_1613760_1360422947_5ae22b4994168a24d2d1d679d23ea534.jpg resize: (1080, 1632) 1360422947 -2.979092015787344 treat image : temp/1747891348_1613760_1360422945_2439c151b7d438e31c585abff0d52d0d.jpg resize: (1080, 1632) 1360422945 -4.998729405746908 treat image : temp/1747891348_1613760_1360422942_9f6335e1456d147f0bd829898fcadf98.jpg resize: (1080, 1632) 1360422942 -5.231341605953845 treat image : temp/1747891348_1613760_1360422938_92c48f70b48071fefaa1d929e2188dcd.jpg resize: (1080, 1632) 1360422938 -5.7093861352397335 treat image : temp/1747891348_1613760_1360422936_e1cabb5a1ed573d951a70014adcbeed5.jpg resize: (1080, 1632) 1360422936 -0.13068249586496655 treat image : temp/1747891348_1613760_1360421307_ddd61af4fdc2c3fc3bba1eebdd96d3cc.jpg resize: (1080, 1632) 1360421307 -4.903622813031401 treat image : temp/1747891348_1613760_1360421302_b6c0ab53d6d9a8870d6db61ecc5c8641.jpg resize: (1080, 1632) 1360421302 -5.54455516284852 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.012408733367919922 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 : 1.5020458698272705 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.20696806907653809 save missing photos in datou_result : time spend for datou_step_exec : 17.98909568786621 time spend to save output : 1.7261006832122803 total time spend for step 1 : 19.71519637107849 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 5.88system 0:25.91elapsed 80%CPU (0avgtext+0avgdata 140120maxresident)k 5096inputs+8952outputs (58major+259600minor)pagefaults 0swaps