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 : 4148872 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 : 3655>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4148872/ 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.6987247467041016 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 Jul 17 10:57:30 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/1752742647_4148872_1372347656_2c75393e51b2812c769b6bf2bc8e1842.jpg resize: (1080, 1632) 1372347656 -2.7295720174161744 treat image : temp/1752742647_4148872_1372347653_65b9316ff0beee20150736d7da8b835e.jpg resize: (1080, 1632) 1372347653 -3.5117943322781735 treat image : temp/1752742647_4148872_1372347650_a8a689febbb63399a5b3a159f576e4e8.jpg resize: (1080, 1632) 1372347650 -5.1485606121547045 treat image : temp/1752742647_4148872_1372347640_bac10cc275e4d91705da76d68d789649.jpg resize: (1080, 1632) 1372347640 -5.3366918112156485 treat image : temp/1752742647_4148872_1372347637_9e0daeff3ba4cb162cf95edc2658f354.jpg resize: (1080, 1632) 1372347637 -4.47455563351683 treat image : temp/1752742647_4148872_1372347635_83af8277029cd3031f9be7ae0574b009.jpg resize: (1080, 1632) 1372347635 -5.4192967141402635 treat image : temp/1752742647_4148872_1372347633_8666f9181cfc13691083fee0b8f801dc.jpg resize: (1080, 1632) 1372347633 -4.379854704476264 treat image : temp/1752742647_4148872_1372347630_0dda5d0837f5c10cbcc9baabf2073448.jpg resize: (1080, 1632) 1372347630 -5.595151111386078 treat image : temp/1752742647_4148872_1372347627_391b5abcfb14b040d3fcbb8f6182fe6c.jpg resize: (1080, 1632) 1372347627 -4.697755186277001 treat image : temp/1752742647_4148872_1372347610_3330ac81906521db4c7c604dfa2b3539.jpg resize: (1080, 1632) 1372347610 -5.4425692032174355 treat image : temp/1752742647_4148872_1372347607_c2454cc9ce913d9e66ff0f2d566c1922.jpg resize: (1080, 1632) 1372347607 -5.445228500336977 treat image : temp/1752742647_4148872_1372347604_b02fce0e0a860dc915575c633aaf71ea.jpg resize: (1080, 1632) 1372347604 -5.472003602381739 treat image : temp/1752742647_4148872_1372347601_2a9e08c0857906453106ee77858b9da7.jpg resize: (1080, 1632) 1372347601 -5.471210842047972 treat image : temp/1752742647_4148872_1372347598_18d90645aabff98209635de37624a7d9.jpg resize: (1080, 1632) 1372347598 -5.478113731378677 treat image : temp/1752742647_4148872_1372347595_fea7daf274dafd91b566357a0f50d8c1.jpg resize: (1080, 1632) 1372347595 -4.9711217059819965 treat image : temp/1752742647_4148872_1372347581_bddfc21e49ff9b4ab100037ff4ddead9.jpg resize: (1080, 1632) 1372347581 -5.354909078359225 treat image : temp/1752742647_4148872_1372347579_b1a6f33b3ac64a76604b7b1be677ba15.jpg resize: (1080, 1632) 1372347579 -5.476488166035743 treat image : temp/1752742647_4148872_1372347577_0a9e9a5f2693a809d493d6ea9f8aacc5.jpg resize: (1080, 1632) 1372347577 -5.462094096872899 treat image : temp/1752742647_4148872_1372347575_83ecca834f2e21eaca7990bce4aad75f.jpg resize: (1080, 1632) 1372347575 -5.416398948562477 treat image : temp/1752742647_4148872_1372347572_859f5ea4968cc7bf1a57648316777d32.jpg resize: (1080, 1632) 1372347572 -5.4638381691438935 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.027416706085205078 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.028076887130737305 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028384685516357422 save missing photos in datou_result : time spend for datou_step_exec : 14.306049823760986 time spend to save output : 0.09486603736877441 total time spend for step 1 : 14.40091586112976 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.82user 2.82system 0:20.42elapsed 81%CPU (0avgtext+0avgdata 137956maxresident)k 0inputs+9720outputs (18major+258923minor)pagefaults 0swaps