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 : 583368 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 : 7898>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/583368/ 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.241968870162964 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 Aug 1 08:32: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/1754029949_583368_1374725778_de6ecefcd2522b163b8a3e0865c3191b.jpg resize: (1080, 1632) 1374725778 -3.0109061248360267 treat image : temp/1754029949_583368_1374725775_70a57fa3993b86205ab9d9c8be9a9327.jpg resize: (1080, 1632) 1374725775 -3.5478586208717524 treat image : temp/1754029949_583368_1374725773_48436bc061ca43a803486bcb4015dd91.jpg resize: (1080, 1632) 1374725773 -4.195868388719802 treat image : temp/1754029949_583368_1374725770_e32a4dc6ad9b556cb459dcec659377d9.jpg resize: (1080, 1632) 1374725770 -5.161199646691903 treat image : temp/1754029949_583368_1374725769_876a733951e169796035ca7fca2a3d54.jpg resize: (1080, 1632) 1374725769 -5.20241472697397 treat image : temp/1754029949_583368_1374725768_6afcedba742b8aff31da1991f8bf3033.jpg resize: (1080, 1632) 1374725768 -4.8419317934902075 treat image : temp/1754029949_583368_1374725765_725011454813ebc8a12d1edb8f5e368d.jpg resize: (1080, 1632) 1374725765 -5.231556983757538 treat image : temp/1754029949_583368_1374725763_fd38e48f508d3d6540b75c33e6e690c7.jpg resize: (1080, 1632) 1374725763 -5.024966929301879 treat image : temp/1754029949_583368_1374725760_fdb5d63c33318cf7ba37cbe3b4c8e49f.jpg resize: (1080, 1632) 1374725760 -5.471982935875277 treat image : temp/1754029949_583368_1374725757_0cd32582b3ca11e3102a3cfb9667c7ce.jpg resize: (1080, 1632) 1374725757 -5.450197708903192 treat image : temp/1754029949_583368_1374725754_22516dbb92d8586172d401f00ec75eaa.jpg resize: (1080, 1632) 1374725754 -2.0915832253661413 treat image : temp/1754029949_583368_1374725752_28d69addc53af5149bd3188154b6954e.jpg resize: (1080, 1632) 1374725752 -1.5774800183397062 treat image : temp/1754029949_583368_1374725723_a5c864d8b9083029dae82f60c6b4a6bb.jpg resize: (1080, 1632) 1374725723 -2.427490838185772 treat image : temp/1754029949_583368_1374725718_380c8b8a7df7532516400469e4d2b6a8.jpg resize: (1080, 1632) 1374725718 -4.9023028405938325 treat image : temp/1754029949_583368_1374725712_935fff1fcc38c4672ee83d7edc28a2b8.jpg resize: (1080, 1632) 1374725712 -5.023491881373025 treat image : temp/1754029949_583368_1374725709_f6599488bb4386bbe43cfbc78f4104f0.jpg resize: (1080, 1632) 1374725709 -3.470969836778402 treat image : temp/1754029949_583368_1374725706_06e9efeb61670186c1d14c9b742306af.jpg resize: (1080, 1632) 1374725706 -5.090409489127074 treat image : temp/1754029949_583368_1374725704_80a35c572332e40e0f70209e2892fe7e.jpg resize: (1080, 1632) 1374725704 -4.216246798609702 treat image : temp/1754029949_583368_1374725640_7ab4c9682b777c6f0f9cb6107c8673b2.jpg resize: (1080, 1632) 1374725640 -3.797022327979956 treat image : temp/1754029949_583368_1374725639_c5c51e3b5b79e8204bb2d760dec1f335.jpg resize: (1080, 1632) 1374725639 -5.801355854404202 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.012898921966552734 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.08087038993835449 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014877796173095703 save missing photos in datou_result : time spend for datou_step_exec : 15.20364785194397 time spend to save output : 0.11467719078063965 total time spend for step 1 : 15.31832504272461 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 3.71system 0:21.09elapsed 83%CPU (0avgtext+0avgdata 139536maxresident)k 8inputs+9304outputs (9major+259640minor)pagefaults 0swaps