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 : 3147023 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 : 7404>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3147023/ 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.245586395263672 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 Sat Jul 5 05:17: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/1751685446_3147023_1370738643_ced49ae7cee2116f478e3441661586c6.jpg resize: (1080, 1632) 1370738643 -4.289946740911065 treat image : temp/1751685446_3147023_1370738634_36c84a8885e3e357c5321c826ee6b778.jpg resize: (1080, 1632) 1370738634 -4.284210165695648 treat image : temp/1751685446_3147023_1370738631_e7d47a353c1d888e4953a6ceaafd8f03.jpg resize: (1080, 1632) 1370738631 -4.285272502672109 treat image : temp/1751685446_3147023_1370738626_01a4ee2f0fc7f3e0a67957130f835fc7.jpg resize: (1080, 1632) 1370738626 -4.28950469382635 treat image : temp/1751685446_3147023_1370738609_11ebe3103422fc7e6215d387e424355c.jpg resize: (1080, 1632) 1370738609 -4.2862878173723615 treat image : temp/1751685446_3147023_1370738605_a1718474c0ddb4b89221be0ada35dd7e.jpg resize: (1080, 1632) 1370738605 -4.286645299470166 treat image : temp/1751685446_3147023_1370738594_0641b118d0ddb26d74919501abbb1477.jpg resize: (1080, 1632) 1370738594 -4.271433562499104 treat image : temp/1751685446_3147023_1370738589_b2b51309cad10474b7155e2509f2cf79.jpg resize: (1080, 1632) 1370738589 -4.293093301069994 treat image : temp/1751685446_3147023_1370738587_0e6c7df4c7ef3b81ec2d51a83afdcf0c.jpg resize: (1080, 1632) 1370738587 -4.289395214121432 treat image : temp/1751685446_3147023_1370738583_cdf4db1f458206c976273f802db9e9a7.jpg resize: (1080, 1632) 1370738583 -4.27043845322421 treat image : temp/1751685446_3147023_1370738573_04c2bb0684647d8029a6bc1503deff1a.jpg resize: (1080, 1632) 1370738573 -4.283335925291357 treat image : temp/1751685446_3147023_1370738561_29e9e5bca2f93700a97146e7233883db.jpg resize: (1080, 1632) 1370738561 -4.290537417222219 treat image : temp/1751685446_3147023_1370738540_6530962fdc8561caf49e5dba826f0135.jpg resize: (1080, 1632) 1370738540 -4.29263347563088 treat image : temp/1751685446_3147023_1370738537_53c8f87550448593886ef4f430908a74.jpg resize: (1080, 1632) 1370738537 -4.289111031446167 treat image : temp/1751685446_3147023_1370738534_88109d7b46dc96da1256e070e3c0da35.jpg resize: (1080, 1632) 1370738534 -4.278699717571827 treat image : temp/1751685446_3147023_1370738532_9d4109c42e525becd73f35a4acc08851.jpg resize: (1080, 1632) 1370738532 -4.278759437008876 treat image : temp/1751685446_3147023_1370738530_85d3ab76e0c3d04f18475d37dbf70c06.jpg resize: (1080, 1632) 1370738530 -4.276365600513774 treat image : temp/1751685446_3147023_1370738529_69ce708753defe91bca00ed54f5fed40.jpg resize: (1080, 1632) 1370738529 -4.293288363555669 treat image : temp/1751685446_3147023_1370738415_debe0f514ed9f3284b8ca43bec585a12.jpg resize: (1080, 1632) 1370738415 -4.286343452259675 treat image : temp/1751685446_3147023_1370738409_a21a06d8e624cff7bd857b9b262ac4f4.jpg resize: (1080, 1632) 1370738409 -4.2821264394019725 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.01621389389038086 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.11146759986877441 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.137221097946167 save missing photos in datou_result : time spend for datou_step_exec : 16.708586931228638 time spend to save output : 0.2699148654937744 total time spend for step 1 : 16.978501796722412 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.51user 4.52system 0:21.13elapsed 90%CPU (0avgtext+0avgdata 137700maxresident)k 576inputs+8024outputs (3major+260751minor)pagefaults 0swaps