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 : 106525 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 : 4246>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/106525/ 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.6791884899139404 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 12:42:28 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/1752748946_106525_1372344893_19fc511157d20c601ec5762ebdd46b10.jpg resize: (1080, 1632) 1372344893 -3.033247015094841 treat image : temp/1752748946_106525_1372344890_fa73097448539c74b68e613280e24efd.jpg resize: (1080, 1632) 1372344890 -3.0613996422370415 treat image : temp/1752748946_106525_1372344888_5d068d3c4eae4385912eeff462bc048c.jpg resize: (1080, 1632) 1372344888 -3.0713171539364694 treat image : temp/1752748946_106525_1372344885_5813a861a407788cbaae83e835214ddf.jpg resize: (1080, 1632) 1372344885 -3.0518930512852838 treat image : temp/1752748946_106525_1372344881_38a1f3cad73c158387a472363bd87364.jpg resize: (1080, 1632) 1372344881 -3.0383142024782916 treat image : temp/1752748946_106525_1372344856_cfcb33cd64ddf389ff0be1b3c20670dd.jpg resize: (1080, 1632) 1372344856 -1.649921390810414 treat image : temp/1752748946_106525_1372344835_96e553d7d3e5418e04a764c2f98500be.jpg resize: (1080, 1632) 1372344835 -4.386428579891973 treat image : temp/1752748946_106525_1372344831_dc438adc3a42463e38380454951f7ab1.jpg resize: (1080, 1632) 1372344831 -4.310082428518525 treat image : temp/1752748946_106525_1372344830_60b6486c5557522def18ae1ca71c65e5.jpg resize: (1080, 1632) 1372344830 -4.384795307211351 treat image : temp/1752748946_106525_1372344828_c5b81bfbcd381016b186a90c080b4adc.jpg resize: (1080, 1632) 1372344828 -4.380905439774075 treat image : temp/1752748946_106525_1372344824_12c7315914b902dbb45cdf710ff6e3dd.jpg resize: (1080, 1632) 1372344824 -4.38949349982628 treat image : temp/1752748946_106525_1372344822_aac70a2b3b0ee4486fc5c075befbce33.jpg resize: (1080, 1632) 1372344822 -1.401396359764335 treat image : temp/1752748946_106525_1372344798_bae85ce1c204f3f5178d0abee5ca256b.jpg resize: (1080, 1632) 1372344798 -4.653513337743456 treat image : temp/1752748946_106525_1372344796_77b432d8d1aeb893f27bc1696f0811e6.jpg resize: (1080, 1632) 1372344796 -4.660365147291482 treat image : temp/1752748946_106525_1372344792_c559ac38d49e9fe91aa465ea35680273.jpg resize: (1080, 1632) 1372344792 -4.648281075850173 treat image : temp/1752748946_106525_1372344788_f3ae5971f62ae3e711dfdf92d64c062c.jpg resize: (1080, 1632) 1372344788 -4.628536431849567 treat image : temp/1752748946_106525_1372344784_a66642ce6edc3cc34186f3ff0d8efe9e.jpg resize: (1080, 1632) 1372344784 -4.096314683770757 treat image : temp/1752748946_106525_1372344781_4acd79f750d840de67f4134c3edb431e.jpg resize: (1080, 1632) 1372344781 -4.379778977493733 treat image : temp/1752748946_106525_1372344768_3fd7b73b8152488901afbea85930fe9a.jpg resize: (1080, 1632) 1372344768 -4.016275278849661 treat image : temp/1752748946_106525_1372344765_fe7d6ed1a4c81a498c0e528d1f0866b2.jpg resize: (1080, 1632) 1372344765 -4.041104295728939 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.013641357421875 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.028652191162109375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025722503662109375 save missing photos in datou_result : time spend for datou_step_exec : 14.217578649520874 time spend to save output : 0.0836942195892334 total time spend for step 1 : 14.301272869110107 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 2.89system 0:18.34elapsed 90%CPU (0avgtext+0avgdata 139372maxresident)k 0inputs+7840outputs (12major+254194minor)pagefaults 0swaps