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 : 3696850 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 : 2705>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3696850/ 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 : 3.089022397994995 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 Tue May 13 17: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/1747151548_3696850_1357862787_569bcc41ff982b8f6792d13156f3c806.jpg resize: (1080, 1632) 1357862787 -5.801557234971055 treat image : temp/1747151548_3696850_1357862784_95e676de1ae0513bee3201cccb7829f5.jpg resize: (1080, 1632) 1357862784 -6.176170328552688 treat image : temp/1747151548_3696850_1357862781_1afc0b97c5b10aca9a10ed71579beb30.jpg resize: (1080, 1632) 1357862781 -5.684263061781963 treat image : temp/1747151548_3696850_1357862778_31401984266298b729445b40c65596ab.jpg resize: (1080, 1632) 1357862778 -5.7785398805236605 treat image : temp/1747151548_3696850_1357862708_ea49e3b556923c0896a27848cf7420dd.jpg resize: (1080, 1632) 1357862708 -5.070251460820115 treat image : temp/1747151548_3696850_1357862704_2e8eb2a4a3b7ff25c48b5f6fd53b1987.jpg resize: (1080, 1632) 1357862704 -1.5391034118020128 treat image : temp/1747151548_3696850_1357862670_9ea7c68e10f12d7bd1950fbbac499b44.jpg resize: (1080, 1632) 1357862670 -5.635451099287062 treat image : temp/1747151548_3696850_1357862664_c4d957508788f6a43309001a3c0b0056.jpg resize: (1080, 1632) 1357862664 -5.147553863076594 treat image : temp/1747151548_3696850_1357862662_f1c18e606f54610d921deee9380a4b2c.jpg resize: (1080, 1632) 1357862662 -6.2303185692015015 treat image : temp/1747151548_3696850_1357862659_7076c281d85e6a409948f4007a2926d3.jpg resize: (1080, 1632) 1357862659 -6.437796573243799 treat image : temp/1747151548_3696850_1357862656_085a594e3a1ed83339888cfe4987ea87.jpg resize: (1080, 1632) 1357862656 -6.124327444322769 treat image : temp/1747151548_3696850_1357862652_73f5c4ea88e562be311ddc7f58a37599.jpg resize: (1080, 1632) 1357862652 -5.911230587143962 treat image : temp/1747151548_3696850_1357862603_c4cdd4a622e2b8bb827a8c244d2173a6.jpg resize: (1080, 1632) 1357862603 -6.178325322121094 treat image : temp/1747151548_3696850_1357862317_7cc10253a6a6baffc2d777f8f59bfcd5.jpg resize: (1080, 1632) 1357862317 -3.7923677418209896 treat image : temp/1747151548_3696850_1357862047_b4038cb6457abd9f9a158b784bba377e.jpg resize: (1080, 1632) 1357862047 -4.6120737927335 treat image : temp/1747151548_3696850_1357861994_b97a049adab9c034385ead5ec71ed015.jpg resize: (1080, 1632) 1357861994 -5.920709024679745 treat image : temp/1747151548_3696850_1357861990_4ec372c6c2b146c089fc0b0c6a17559e.jpg resize: (1080, 1632) 1357861990 -3.63509830118217 treat image : temp/1747151548_3696850_1357861986_65008193f49f9656b50b2b0544b4314f.jpg resize: (1080, 1632) 1357861986 -6.044024442288674 treat image : temp/1747151548_3696850_1357861982_2b79f4e0956de9a2a765f88acfe7f439.jpg resize: (1080, 1632) 1357861982 -3.1330641990550556 treat image : temp/1747151548_3696850_1357861402_37f3ae3512a8063a59d32155d5570cd0.jpg resize: (1080, 1632) 1357861402 -1.489665851975555 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.014123916625976562 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.013631582260131836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015920639038085938 save missing photos in datou_result : time spend for datou_step_exec : 17.64842939376831 time spend to save output : 0.0497894287109375 total time spend for step 1 : 17.698218822479248 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.92user 5.38system 0:23.87elapsed 85%CPU (0avgtext+0avgdata 141640maxresident)k 3096inputs+10720outputs (40major+257344minor)pagefaults 0swaps