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 : 3076951 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 : 4638>100 please execute split_portfolio.py -i 25197410 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3322248'] with mtr_portfolio_ids : ['25197410'] and first list_photo_ids : [] new path : /proc/3076951/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.023982524871826 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 Wed Jul 23 15:32: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/1753277548_3076951_1373354553_25eefe2f5c815b1d7ffaaaf481b9d1d9.jpg resize: (1080, 1632) 1373354553 -4.863201514686336 treat image : temp/1753277548_3076951_1373354549_3a667e747346d269d7b83514eea23761.jpg resize: (1080, 1632) 1373354549 -4.970923540717065 treat image : temp/1753277548_3076951_1373354547_b8c86386087648a602868cd8aedf2559.jpg resize: (1080, 1632) 1373354547 -4.1872149119337045 treat image : temp/1753277548_3076951_1373354546_2e9ab8c90c883a45585bfec8321576fa.jpg resize: (1080, 1632) 1373354546 -5.57801502621255 treat image : temp/1753277548_3076951_1373354540_3a5271f2e6adbd93623bdba56e60d146.jpg resize: (1080, 1632) 1373354540 -5.2850337612699905 treat image : temp/1753277548_3076951_1373354532_2b690f1ddb7b5a80a9f31c880067528f.jpg resize: (1080, 1632) 1373354532 -5.675106165617912 treat image : temp/1753277548_3076951_1373354513_70890c916a4088a9b087874753a1e1b2.jpg resize: (1080, 1632) 1373354513 -2.3002943110636744 treat image : temp/1753277548_3076951_1373354512_6ec46158128066b83e82a8a809fd5f91.jpg resize: (1080, 1632) 1373354512 -3.7641977285179475 treat image : temp/1753277548_3076951_1373354510_2e6ed69f59eded3abac8df9f99cd3b46.jpg resize: (1080, 1632) 1373354510 -3.9156568732554664 treat image : temp/1753277548_3076951_1373354509_5cfcfa486a5428dbb8687fb99eb10826.jpg resize: (1080, 1632) 1373354509 -4.801228701667899 treat image : temp/1753277548_3076951_1373354508_9d44240ab3c80c7df1e92c203a93f498.jpg resize: (1080, 1632) 1373354508 -5.420530139623272 treat image : temp/1753277548_3076951_1373354504_43d51ad8a1a9c386a3c5ce19beb04eb6.jpg resize: (1080, 1632) 1373354504 -5.791063028522942 treat image : temp/1753277548_3076951_1373354449_e037a57f0c948cbdd368e71d667dbd9a.jpg resize: (1080, 1632) 1373354449 -4.7359293325385865 treat image : temp/1753277548_3076951_1373354420_865a44d0f3b1af88fe4cfd4161196878.jpg resize: (1080, 1632) 1373354420 -4.975791823308729 treat image : temp/1753277548_3076951_1373354418_10f90d80a189dc772e327cf06bacef54.jpg resize: (1080, 1632) 1373354418 -5.086634563074159 treat image : temp/1753277548_3076951_1373354416_248e11399e2afa6e5471b8ba85503926.jpg resize: (1080, 1632) 1373354416 -0.8912127723209343 treat image : temp/1753277548_3076951_1373354413_afc0bdd40b5e16f6040c05be7538b96e.jpg resize: (1080, 1632) 1373354413 -1.5479255247884072 treat image : temp/1753277548_3076951_1373354408_72cd658ae3acaabcc65190d6979ce47d.jpg resize: (1080, 1632) 1373354408 -2.428328587942312 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 : 18 time used for this insertion : 0.013425350189208984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012930154800415039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014905691146850586 save missing photos in datou_result : time spend for datou_step_exec : 16.574305772781372 time spend to save output : 0.04629635810852051 total time spend for step 1 : 16.620602130889893 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.15user 5.80system 0:22.61elapsed 83%CPU (0avgtext+0avgdata 138476maxresident)k 424inputs+8384outputs (3major+224880minor)pagefaults 0swaps