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 : 924269 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 : 7824>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/924269/ 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.7571072578430176 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 Thu Jul 10 06:57: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/1752123448_924269_1371467642_6fed4df76bec5c103bccbc148856602d.jpg resize: (1080, 1632) 1371467642 -5.1073275379506065 treat image : temp/1752123448_924269_1371467640_608d51baa49320775b40537ffaa7778f.jpg resize: (1080, 1632) 1371467640 -5.106569999610022 treat image : temp/1752123448_924269_1371467638_2fc3ad552974ffeff65ba89c9b454c54.jpg resize: (1080, 1632) 1371467638 -5.0705844564007965 treat image : temp/1752123448_924269_1371467635_2c59b6693603bfb57f612cb054be112a.jpg resize: (1080, 1632) 1371467635 -5.143411896960693 treat image : temp/1752123448_924269_1371467634_c49a3eef3368c328df1de95ce2699df9.jpg resize: (1080, 1632) 1371467634 -5.435091552485608 treat image : temp/1752123448_924269_1371467632_a4306400f2a72d2cceebc5873813d566.jpg resize: (1080, 1632) 1371467632 -5.670024243492723 treat image : temp/1752123448_924269_1371467419_92d10c33a1b344ee96fc051b0984a81b.jpg resize: (1080, 1632) 1371467419 -4.945622376943333 treat image : temp/1752123448_924269_1371467411_f5787df9c8a1709d449614fbd8a35bd5.jpg resize: (1080, 1632) 1371467411 -5.967548997998056 treat image : temp/1752123448_924269_1371467409_ec35a39e0ed3fcc338e7d6e903a79758.jpg resize: (1080, 1632) 1371467409 -4.445767068497792 treat image : temp/1752123448_924269_1371467403_7106cca62cc179fffb4373bb2cd12cd7.jpg resize: (1080, 1632) 1371467403 -0.6701547787751615 treat image : temp/1752123448_924269_1371467378_62503c5aaa1d267c10b6a1cf14d08f4c.jpg resize: (1080, 1632) 1371467378 -3.18840721537993 treat image : temp/1752123448_924269_1371467356_8f948a75fa5f2d364db59201c6e30ed3.jpg resize: (1080, 1632) 1371467356 -3.074144728543149 treat image : temp/1752123448_924269_1371467059_d07c43f97b389f5d8b551e146aa827a1.jpg resize: (1080, 1632) 1371467059 -3.3329231307685387 treat image : temp/1752123448_924269_1371467032_8302b3892b86627b64f8a9d485627e2d.jpg resize: (1080, 1632) 1371467032 -5.389142529775791 treat image : temp/1752123448_924269_1371467005_916aba4bad40b02052f4c2e49df42c7b.jpg resize: (1080, 1632) 1371467005 -3.7812039716892367 treat image : temp/1752123448_924269_1371466980_6aabbdd1dbdd4d025dd32a86c9c981ab.jpg resize: (1080, 1632) 1371466980 -3.1375197484564246 treat image : temp/1752123448_924269_1371466947_de77e8dbccdd016198a29efc03b0b1a4.jpg resize: (1080, 1632) 1371466947 -5.161743670266137 treat image : temp/1752123448_924269_1371466873_aae8741f75833422fe96b9499d0e19c9.jpg resize: (1080, 1632) 1371466873 -6.265167416016276 treat image : temp/1752123448_924269_1371465375_8c6a4938862e648e81fdc4ac464b270b.jpg resize: (1080, 1632) 1371465375 -4.5292158050649745 treat image : temp/1752123448_924269_1371465366_929db4958513ffc60a18709db96ea230.jpg resize: (1080, 1632) 1371465366 -4.6946626186734495 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.014613151550292969 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.02005791664123535 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02195262908935547 save missing photos in datou_result : time spend for datou_step_exec : 14.301837682723999 time spend to save output : 0.06130504608154297 total time spend for step 1 : 14.363142728805542 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.67user 3.31system 0:19.98elapsed 85%CPU (0avgtext+0avgdata 139620maxresident)k 8inputs+9424outputs (9major+247577minor)pagefaults 0swaps