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 : 1988479 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 : 6499>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1988479/ 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.4827051162719727 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 20: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/1752172348_1988479_1371519272_97859441c3541f02aa27490c3dd0f7c0.jpg resize: (1080, 1632) 1371519272 -4.736718176710013 treat image : temp/1752172348_1988479_1371519266_b3ce330e04f6031e03b3ee361ab7971c.jpg resize: (1080, 1632) 1371519266 -4.658386241026957 treat image : temp/1752172348_1988479_1371519261_1ebf5cb55363db23bed5450493bb494a.jpg resize: (1080, 1632) 1371519261 -4.980839936809202 treat image : temp/1752172348_1988479_1371519190_a2812092285a3b45b5dcfe38e314031c.jpg resize: (1080, 1632) 1371519190 -2.1172800593898993 treat image : temp/1752172348_1988479_1371518963_b742c32461da88314d7dc2968e968378.jpg resize: (1080, 1632) 1371518963 -4.605265842025699 treat image : temp/1752172348_1988479_1371518959_42da1e6a7a8d1e41473fcb3ea616fbb4.jpg resize: (1080, 1632) 1371518959 -4.694982483558978 treat image : temp/1752172348_1988479_1371518958_7ad3dacb6c5bb73726f467c4b6b9db66.jpg resize: (1080, 1632) 1371518958 -5.139646304538939 treat image : temp/1752172348_1988479_1371518838_178380b9fd1e663c03bbc5298384c43e.jpg resize: (1080, 1632) 1371518838 -2.629447127689474 treat image : temp/1752172348_1988479_1371518581_04efc3e489c54254722e25f77a45fc2f.jpg resize: (1080, 1632) 1371518581 -3.508267410791232 treat image : temp/1752172348_1988479_1371518560_56b819a075de35cf5e053222e29ac9c4.jpg resize: (1080, 1632) 1371518560 -5.1600389466712775 treat image : temp/1752172348_1988479_1371518548_05fa590b2824f22d00cbd790b18ddbc4.jpg resize: (1080, 1632) 1371518548 -4.646450952978271 treat image : temp/1752172348_1988479_1371518468_a3e5ca55ae96d3a9acfc67ff7b26f08b.jpg resize: (1080, 1632) 1371518468 -2.5979043877325827 treat image : temp/1752172348_1988479_1371518337_61810d72e13d4ff99ccfe4291b08c99d.jpg resize: (1080, 1632) 1371518337 -4.13922812243206 treat image : temp/1752172348_1988479_1371518332_849068580d3ed3e9ffcdebd6935f627e.jpg resize: (1080, 1632) 1371518332 -1.8515829660333532 treat image : temp/1752172348_1988479_1371518227_7b2ad3c7076694f9131f8b817300de2c.jpg resize: (1080, 1632) 1371518227 -4.6499978400402675 treat image : temp/1752172348_1988479_1371518171_d2c799fcba666ba8b2f93f22012694ba.jpg resize: (1080, 1632) 1371518171 -2.583022565102037 treat image : temp/1752172348_1988479_1371517996_da99340cbec4782ac5812dd7d959aea7.jpg resize: (1080, 1632) 1371517996 -2.901616403727857 treat image : temp/1752172348_1988479_1371517995_3fa3c68fab3ee9c87afb82cba9dc56e7.jpg resize: (1080, 1632) 1371517995 -4.332134306477863 treat image : temp/1752172348_1988479_1371517866_c88fa395a47a867c2eeb17f460759d6d.jpg resize: (1080, 1632) 1371517866 -5.220686294766369 treat image : temp/1752172348_1988479_1371517851_7383f27ef7e9564492a84385cfa2b9ea.jpg resize: (1080, 1632) 1371517851 -2.822775100271586 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.012708425521850586 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.013102054595947266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013059854507446289 save missing photos in datou_result : time spend for datou_step_exec : 14.928492546081543 time spend to save output : 0.04389500617980957 total time spend for step 1 : 14.972387552261353 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.54user 3.78system 0:21.12elapsed 82%CPU (0avgtext+0avgdata 140100maxresident)k 0inputs+8240outputs (1major+259638minor)pagefaults 0swaps