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 : 966918 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 : 1200>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/966918/ 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.365143299102783 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 Jul 4 10:52: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/1751619149_966918_1370539544_4c7f68356560685428a321b92fbe68fa.jpg resize: (1080, 1632) 1370539544 -6.102874025007566 treat image : temp/1751619149_966918_1370539539_2b5689133abc2388420bda5cd1a35d6d.jpg resize: (1080, 1632) 1370539539 -6.085814879871367 treat image : temp/1751619149_966918_1370539535_b8b24281ff2331497d752e4792607fb7.jpg resize: (1080, 1632) 1370539535 -4.873275939484751 treat image : temp/1751619149_966918_1370539531_b0a1790fc7acefe2b4122f3b50409580.jpg resize: (1080, 1632) 1370539531 -6.377725560820061 treat image : temp/1751619149_966918_1370539506_f2b429ad7b333a5aa5c67de77fdbc418.jpg resize: (1080, 1632) 1370539506 -6.093629493949631 treat image : temp/1751619149_966918_1370539474_32cc60c6004e54f5790022c56d6f68c0.jpg resize: (1080, 1632) 1370539474 -6.08518766734406 treat image : temp/1751619149_966918_1370538918_b94e374c4dd9d79281a4a2f2af057bc3.jpg resize: (1080, 1632) 1370538918 -1.7721424284995169 treat image : temp/1751619149_966918_1370538863_e06e9f50db71a0510ebcd1b8cd92b57c.jpg resize: (1080, 1632) 1370538863 -2.908073948547227 treat image : temp/1751619149_966918_1370538831_d44fabdfee7b1fce4f6461312071e3d6.jpg resize: (1080, 1632) 1370538831 -3.1878284248367663 treat image : temp/1751619149_966918_1370538765_7924b5ab71cca69ecf822114b08d44c7.jpg resize: (1080, 1632) 1370538765 -2.1487432895852607 treat image : temp/1751619149_966918_1370538643_e835ed3388f897aabafcdd9556115230.jpg resize: (1080, 1632) 1370538643 -6.2472540631698985 treat image : temp/1751619149_966918_1370538607_17258f78060e94ff931d703bfbe96694.jpg resize: (1080, 1632) 1370538607 -6.249329266987153 treat image : temp/1751619149_966918_1370538569_68809f5a66dc688ccf0bedaccb4794c4.jpg resize: (1080, 1632) 1370538569 -6.236387058640962 treat image : temp/1751619149_966918_1370538551_72ee7205a713f66e8263d598b1a74c67.jpg resize: (1080, 1632) 1370538551 -6.246589251317979 treat image : temp/1751619149_966918_1370538520_9e803114a76b500ba7f1fc671c71a4c7.jpg resize: (1080, 1632) 1370538520 -6.267467890364307 treat image : temp/1751619149_966918_1370538500_c60485040ff5e04601dcd7a4adc330f1.jpg resize: (1080, 1632) 1370538500 -4.572623331777795 treat image : temp/1751619149_966918_1370538175_40ccf2befda7ae1a7072590411938810.jpg resize: (1080, 1632) 1370538175 -6.310542188253747 treat image : temp/1751619149_966918_1370538164_fac0ed394d73018449e68a4f35c421a1.jpg resize: (1080, 1632) 1370538164 -6.315628788958874 treat image : temp/1751619149_966918_1370538161_c852cd42b0aa14759b25c5884fa56ae7.jpg resize: (1080, 1632) 1370538161 -6.141038914442616 treat image : temp/1751619149_966918_1370538154_1b3368b22614ac89df9543ff15ebdd8d.jpg resize: (1080, 1632) 1370538154 -6.15946122382357 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.02393054962158203 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.024430036544799805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.027950286865234375 save missing photos in datou_result : time spend for datou_step_exec : 18.61263155937195 time spend to save output : 0.08590435981750488 total time spend for step 1 : 18.698535919189453 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.92user 7.07system 0:25.39elapsed 86%CPU (0avgtext+0avgdata 138836maxresident)k 464inputs+11208outputs (8major+255999minor)pagefaults 0swaps