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 : 123778 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 : 3502>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/123778/ 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.3720953464508057 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 Mon May 12 23:42: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/1747086148_123778_1357746349_3f45acb033fd06bbd36103dc56cfa7a1.jpg resize: (1080, 1632) 1357746349 -4.046294417447605 treat image : temp/1747086148_123778_1357746323_56460d2a09dd1b91ea5e7fb093752288.jpg resize: (1080, 1632) 1357746323 -6.168333814559688 treat image : temp/1747086148_123778_1357746296_141ef6af0a3de9cec6a9fada518bf7e9.jpg resize: (1080, 1632) 1357746296 -6.265856525565226 treat image : temp/1747086148_123778_1357746268_ae97089dc183418f2cf512b01338398d.jpg resize: (1080, 1632) 1357746268 -4.222480740255544 treat image : temp/1747086148_123778_1357746017_3bf3b7d0d1afa1eae76339e0ab5fb71a.jpg resize: (1080, 1632) 1357746017 -5.192694510552071 treat image : temp/1747086148_123778_1357746015_7cdb217b441fcb9b5b9ee02e4f2aaa13.jpg resize: (1080, 1632) 1357746015 -6.515533558517329 treat image : temp/1747086148_123778_1357746011_57eae075fd95921e0ee745515b4d5eaf.jpg resize: (1080, 1632) 1357746011 -6.458450898441846 treat image : temp/1747086148_123778_1357745980_bfba6ae79ccbe6d09e6b097c964905ad.jpg resize: (1080, 1632) 1357745980 -1.9150574784696976 treat image : temp/1747086148_123778_1357745952_af517407d88cf36e53fe5441a36ae261.jpg resize: (1080, 1632) 1357745952 -5.199148801127703 treat image : temp/1747086148_123778_1357745949_dd20adadcaa182d9a242d9752d182013.jpg resize: (1080, 1632) 1357745949 -2.437288306554339 treat image : temp/1747086148_123778_1357745946_5f82deb6366164fe169286a36c3aef87.jpg resize: (1080, 1632) 1357745946 -0.29203736392035873 treat image : temp/1747086148_123778_1357745913_4d9f9202232828d936d7612690583dcc.jpg resize: (1080, 1632) 1357745913 -6.006507935371241 treat image : temp/1747086148_123778_1357745910_06b756d287244b7d844ce205d6169831.jpg resize: (1080, 1632) 1357745910 -6.0663317823201695 treat image : temp/1747086148_123778_1357745908_33cdc323ee3b6a9af2a814667c80db16.jpg resize: (1080, 1632) 1357745908 -4.534078434109477 treat image : temp/1747086148_123778_1357745905_94a2fbe74159ec9f45f8753388fc0a4a.jpg resize: (1080, 1632) 1357745905 -4.033812162692684 treat image : temp/1747086148_123778_1357745902_8019852f1f496f5af96621e3b968eb87.jpg resize: (1080, 1632) 1357745902 -5.353653614020464 treat image : temp/1747086148_123778_1357745899_279c41ffaa3e35a6cc9efa9f14ef9279.jpg resize: (1080, 1632) 1357745899 -5.235119033338738 treat image : temp/1747086148_123778_1357745651_f2900ae2e95a0199eab244a07830c1be.jpg resize: (1080, 1632) 1357745651 -4.912394422546896 treat image : temp/1747086148_123778_1357745649_81b8b1805c83e9c2a0eab8b2cfd7b8ca.jpg resize: (1080, 1632) 1357745649 -6.178926149549741 treat image : temp/1747086148_123778_1357745647_166562e3c8199bcb43bfbbac65f28da1.jpg resize: (1080, 1632) 1357745647 -1.5985719863894374 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.016965150833129883 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.014120340347290039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014783382415771484 save missing photos in datou_result : time spend for datou_step_exec : 18.54893159866333 time spend to save output : 0.05045318603515625 total time spend for step 1 : 18.599384784698486 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 6.17system 0:23.83elapsed 87%CPU (0avgtext+0avgdata 138712maxresident)k 120inputs+10008outputs (8major+259049minor)pagefaults 0swaps