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 : 63874 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 : 7469>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/63874/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371582976 complete_path : /home/admin/workarea/git/Velours/python/temp/1752255749_63874_1371582976_55327546c0682e39a9e93b183704d2ef.jpg FBHTTP Error 404: Not Found can't download the photo : 1371582943 complete_path : /home/admin/workarea/git/Velours/python/temp/1752255749_63874_1371582943_180d015628895a272344f7b787ef4956.jpg Fwe have missing 2 photos in the step downloads : photo missing : [1371582976, 1371582943] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582976 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582943 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.937230110168457 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 19:42: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/1752255749_63874_1371647771_d1078d8ac32e1b1ec7094e76311d2a54.jpg resize: (1080, 1632) 1371647771 -4.81692618650936 treat image : temp/1752255749_63874_1371647767_00b991d9c504865e8b06c8918e9c6924.jpg resize: (1080, 1632) 1371647767 -4.81692618650936 treat image : temp/1752255749_63874_1371647740_759dcc6ca431b8b76d461ba8afe04149.jpg resize: (1080, 1632) 1371647740 -5.823450714878615 treat image : temp/1752255749_63874_1371647733_78aba13550ee339c2e5a8f352bb6cbc8.jpg resize: (1080, 1632) 1371647733 -5.823450714878615 treat image : temp/1752255749_63874_1371647594_e66a14817a0a26e7071fad7829765521.jpg resize: (1080, 1632) 1371647594 -5.138996212314905 treat image : temp/1752255749_63874_1371647563_53e6de0ab9b9a21c0c4eef964194106d.jpg resize: (1080, 1632) 1371647563 -5.090455013818149 treat image : temp/1752255749_63874_1371647528_592ec7fe89ef65f792d32714fdab49f1.jpg resize: (1080, 1632) 1371647528 -5.108425857400102 treat image : temp/1752255749_63874_1371647491_b1de5529d4cfbca796ef1aeb66ac58f0.jpg resize: (1080, 1632) 1371647491 -5.081145939438925 treat image : temp/1752255749_63874_1371647465_e2838d4815cb330f0fd64a9d18237dd6.jpg resize: (1080, 1632) 1371647465 -5.082158688994514 treat image : temp/1752255749_63874_1371647438_142fa4e9f3af0ace0b5efd4b5e124863.jpg resize: (1080, 1632) 1371647438 -5.119579936935445 treat image : temp/1752255749_63874_1371647368_cfc10d370a08c93f83ffd00e3c114e5c.jpg resize: (1080, 1632) 1371647368 -2.6556219155356557 treat image : temp/1752255749_63874_1371647356_c498f515be7b3f0ca1e5cabb719f1fce.jpg resize: (1080, 1632) 1371647356 -2.2925701306715967 treat image : temp/1752255749_63874_1371647350_99ecb0b297d9946ae36050b55e46384b.jpg resize: (1080, 1632) 1371647350 -1.817741402205622 treat image : temp/1752255749_63874_1371647345_1d0f7530dd382fc7e4cc57d1dcdeedf7.jpg resize: (1080, 1632) 1371647345 -5.269456956596144 treat image : temp/1752255749_63874_1371647340_47013d2adb7d3c8b5e99d3f633b6dd4a.jpg resize: (1080, 1632) 1371647340 -5.207650452419307 treat image : temp/1752255749_63874_1371647335_71ec0b63614490b6d2bf162d856dccdf.jpg resize: (1080, 1632) 1371647335 -4.696905684468613 treat image : temp/1752255749_63874_1371583173_5ba70eb163f22f6b3ecafa551ee1b582.jpg resize: (1080, 1632) 1371583173 -5.211993599132214 treat image : temp/1752255749_63874_1371583164_1e2556794940e799b9a761dc3e746d9e.jpg resize: (1080, 1632) 1371583164 -4.889570951136766 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 : 18 time used for this insertion : 0.013797283172607422 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012845277786254883 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014908790588378906 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.014913558959960938 time spend for datou_step_exec : 15.836986064910889 time spend to save output : 0.061717987060546875 total time spend for step 1 : 15.898704051971436 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.80user 4.69system 0:22.49elapsed 82%CPU (0avgtext+0avgdata 138764maxresident)k 72inputs+8640outputs (10major+240131minor)pagefaults 0swaps