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 : 403369 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 : 8753>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/403369/ 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.391547918319702 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 Jul 11 21:47:32 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/1752263250_403369_1371674712_7d4727633f70e0124adb90af3a564262.jpg resize: (1080, 1632) 1371674712 -5.006574629048449 treat image : temp/1752263250_403369_1371674706_0f3fe723fd162f553265157b7375fe09.jpg resize: (1080, 1632) 1371674706 -5.009615801887975 treat image : temp/1752263250_403369_1371674700_557788068eccb0b17e69f70baeda321c.jpg resize: (1080, 1632) 1371674700 -4.945589636174357 treat image : temp/1752263250_403369_1371674693_99a475fd999f909ffa3f4f664c697e25.jpg resize: (1080, 1632) 1371674693 -4.959006487434399 treat image : temp/1752263250_403369_1371674688_9e3528913601e56d8065771444fa5e13.jpg resize: (1080, 1632) 1371674688 -4.98117666893291 treat image : temp/1752263250_403369_1371674669_d3e431c3eb2ae171efeed4a03f2d61e4.jpg resize: (1080, 1632) 1371674669 -4.94494619384106 treat image : temp/1752263250_403369_1371674568_312c67fad734cb086b33f8eb21508173.jpg resize: (1080, 1632) 1371674568 -5.037147569425927 treat image : temp/1752263250_403369_1371674564_58e49c0f7f0a64fe6481484a4f4f90e8.jpg resize: (1080, 1632) 1371674564 -5.042941545139564 treat image : temp/1752263250_403369_1371674558_0d590c1c0c38372245cc85b160f432ad.jpg resize: (1080, 1632) 1371674558 -5.04270394228429 treat image : temp/1752263250_403369_1371674552_1e4dfddd4a62973a77540d16cfdd5171.jpg resize: (1080, 1632) 1371674552 -5.040822757580025 treat image : temp/1752263250_403369_1371674534_64dd37d1f0c8c50ba4ca700699998100.jpg resize: (1080, 1632) 1371674534 -5.020194217042742 treat image : temp/1752263250_403369_1371674524_ccab55d15b911c68298aa9edb9816833.jpg resize: (1080, 1632) 1371674524 -5.038985738033871 treat image : temp/1752263250_403369_1371674394_9d477e47545c59e129061a08bd9ad199.jpg resize: (1080, 1632) 1371674394 -5.187388509473447 treat image : temp/1752263250_403369_1371674367_bb9eba20471bdb46faa05a361bcf7e79.jpg resize: (1080, 1632) 1371674367 -5.23018972194928 treat image : temp/1752263250_403369_1371674339_323ab01bcf365f1604aecb35761caddd.jpg resize: (1080, 1632) 1371674339 -5.231122705589366 treat image : temp/1752263250_403369_1371674302_7f5f9b63963dc00f5338335091a641f4.jpg resize: (1080, 1632) 1371674302 -5.152030056438635 treat image : temp/1752263250_403369_1371674262_d27cb7954a92f030891ef521fe512125.jpg resize: (1080, 1632) 1371674262 -5.033156901002303 treat image : temp/1752263250_403369_1371674246_23786acc27541b69f072ecf6bde45b92.jpg resize: (1080, 1632) 1371674246 -4.998683625277787 treat image : temp/1752263250_403369_1371674205_6685333077ee3cb179c420a7e33bff2e.jpg resize: (1080, 1632) 1371674205 -5.032817427770615 treat image : temp/1752263250_403369_1371674176_4a0f7e54fa1ba6c87e0cbe28d91c07e3.jpg resize: (1080, 1632) 1371674176 -5.039883996377818 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.01606130599975586 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.0157320499420166 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019628286361694336 save missing photos in datou_result : time spend for datou_step_exec : 14.818475723266602 time spend to save output : 0.056458473205566406 total time spend for step 1 : 14.874934196472168 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 3.23system 0:21.55elapsed 80%CPU (0avgtext+0avgdata 138964maxresident)k 40inputs+9560outputs (0major+256208minor)pagefaults 0swaps