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 : 2355742 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 : 2260>100 please execute split_portfolio.py -i 20698945 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2601786'] with mtr_portfolio_ids : ['20698945'] and first list_photo_ids : [] new path : /proc/2355742/ 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.1330947875976562 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 Feb 21 11:07: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/1740132448_2355742_1338796627_f681d2c3a6262f26045fcbe65d133909.jpg resize: (1080, 1632) 1338796627 -2.4088133429818077 treat image : temp/1740132448_2355742_1338796622_57eb8dcaa1c9c88de21e4062471e04d7.jpg resize: (1080, 1632) 1338796622 -2.822338089021669 treat image : temp/1740132448_2355742_1338796616_5cd9ef845822fad26d99c783319a3798.jpg resize: (1080, 1632) 1338796616 -3.372081183106641 treat image : temp/1740132448_2355742_1338796613_406dfc7bb21abe6f2083c6a729636be3.jpg resize: (1080, 1632) 1338796613 -3.8954768064591847 treat image : temp/1740132448_2355742_1338796610_eb6fc6639e28ab422a3dee59420ea486.jpg resize: (1080, 1632) 1338796610 -6.050231822538928 treat image : temp/1740132448_2355742_1338796592_1ac2107afe11c1e6ca90242dddd0a962.jpg resize: (1080, 1632) 1338796592 -5.378313558014992 treat image : temp/1740132448_2355742_1338796586_d0f5e34e8ac80b4c300032b1bcecb693.jpg resize: (1080, 1632) 1338796586 -3.8375826335280583 treat image : temp/1740132448_2355742_1338796581_75cb373521c44272f21fe3074e5642df.jpg resize: (1080, 1632) 1338796581 -3.0276343560206023 treat image : temp/1740132448_2355742_1338796574_ad9814892192db3cf576a9b184f1340e.jpg resize: (1080, 1632) 1338796574 -4.7919935655304 treat image : temp/1740132448_2355742_1338796572_af660a815f48debd8e994462bc03d47f.jpg resize: (1080, 1632) 1338796572 -3.4168004442018156 treat image : temp/1740132448_2355742_1338796568_0434760a26152d88185a55c7e6c8d84e.jpg resize: (1080, 1632) 1338796568 -1.6487745520103472 treat image : temp/1740132448_2355742_1338796494_ea067df6ee8bf94995672ae0f05e1326.jpg resize: (1080, 1632) 1338796494 -3.8401472574091597 treat image : temp/1740132448_2355742_1338796491_771252a2fb5df1e9edbac972b1684d75.jpg resize: (1080, 1632) 1338796491 -3.311973011608999 treat image : temp/1740132448_2355742_1338796487_49a048f138c95367522a551bdb8bfaa2.jpg resize: (1080, 1632) 1338796487 -2.6504000636932648 treat image : temp/1740132448_2355742_1338796482_017c03f2f8c827f88e04996de4f04d72.jpg resize: (1080, 1632) 1338796482 -2.910235289013704 treat image : temp/1740132448_2355742_1338796479_3e4cbca0f89ad2c0ee911973957eec8f.jpg resize: (1080, 1632) 1338796479 -3.980806459774693 treat image : temp/1740132448_2355742_1338796454_9d44851759fabda2a9e18991f0034e2a.jpg resize: (1080, 1632) 1338796454 -5.549193728274407 treat image : temp/1740132448_2355742_1338796452_6802b7ac9b49ded031646a4d03018f56.jpg resize: (1080, 1632) 1338796452 -5.851273727577536 treat image : temp/1740132448_2355742_1338796449_e3604091992841eb49985322cffc59d8.jpg resize: (1080, 1632) 1338796449 -4.725967332907271 treat image : temp/1740132448_2355742_1338796445_b39b42549486e25d994bac215e5040ac.jpg resize: (1080, 1632) 1338796445 -6.009732172275567 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.014629125595092773 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.014987945556640625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01896190643310547 save missing photos in datou_result : time spend for datou_step_exec : 17.731595277786255 time spend to save output : 0.05404400825500488 total time spend for step 1 : 17.78563928604126 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.87user 5.49system 0:22.57elapsed 90%CPU (0avgtext+0avgdata 139784maxresident)k 88inputs+9664outputs (2major+250343minor)pagefaults 0swaps