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 : 2124106 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 : 7171>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/2124106/ 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 ! BFBFBFBHTTP Error 404: Not Found can't download the photo : 1371523725 complete_path : /home/admin/workarea/git/Velours/python/temp/1752178947_2124106_1371523725_93ba509612be7b4550b20342859cbe98.jpg FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1371523725] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371523725 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.5464165210723877 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 22:22: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/1752178947_2124106_1371524395_cf72ddb68404646944c013829d8dbee9.jpg resize: (1080, 1632) 1371524395 -2.770131115407704 treat image : temp/1752178947_2124106_1371524119_92edcf1b51b8959cbf49cb1e5f252af7.jpg resize: (1080, 1632) 1371524119 -2.7883210286996625 treat image : temp/1752178947_2124106_1371523841_c2d35a496e92b577e351edfbd910391e.jpg resize: (1080, 1632) 1371523841 -2.7812445567963766 treat image : temp/1752178947_2124106_1371523603_c355a63c8c73d9eb679098dc5179d7bf.jpg resize: (1080, 1632) 1371523603 -2.7648431788904646 treat image : temp/1752178947_2124106_1371523602_2a7745a9dcc33393bcb2d75361780dbb.jpg resize: (1080, 1632) 1371523602 -2.7649557375593643 treat image : temp/1752178947_2124106_1371523595_e27d0870fab7595a5e72fcaf25348fa2.jpg resize: (1080, 1632) 1371523595 -2.7771533502824814 treat image : temp/1752178947_2124106_1371523594_104ac8c829f4e1fd9ecd84765977cf38.jpg resize: (1080, 1632) 1371523594 -2.8245896342634196 treat image : temp/1752178947_2124106_1371523577_cd99d880a1aeee0aed85e9b11551d6da.jpg resize: (1080, 1632) 1371523577 -2.7903597845736794 treat image : temp/1752178947_2124106_1371523527_a376704342b69279145894cd6e435c74.jpg resize: (1080, 1632) 1371523527 -2.8245896342634196 treat image : temp/1752178947_2124106_1371523526_5ee85112088b08d4a29e25b51489315f.jpg resize: (1080, 1632) 1371523526 -2.8334854070564917 treat image : temp/1752178947_2124106_1371523513_184aa51e2c41c5543d0fd3aecc249be2.jpg resize: (1080, 1632) 1371523513 -2.8325818383512376 treat image : temp/1752178947_2124106_1371523235_9a067c0d89933409fa7ff60d8ea8cd68.jpg resize: (1080, 1632) 1371523235 -2.8087558231111873 treat image : temp/1752178947_2124106_1371523229_e054667ff0cfc045e7a34523e5234cf4.jpg resize: (1080, 1632) 1371523229 -2.7914238913346843 treat image : temp/1752178947_2124106_1371523226_2788242c9168197d0660ed9a461396eb.jpg resize: (1080, 1632) 1371523226 -2.8009272296879058 treat image : temp/1752178947_2124106_1371523220_bdf7e715e8afd066ee1120029123dc73.jpg resize: (1080, 1632) 1371523220 -2.749604319917316 treat image : temp/1752178947_2124106_1371523214_21112212ee109466b87b3b4f7defdb94.jpg resize: (1080, 1632) 1371523214 -2.7652662847728737 treat image : temp/1752178947_2124106_1371523206_52e9ccc65821c4e4d561793664fdfc3e.jpg resize: (1080, 1632) 1371523206 -2.749604319917316 treat image : temp/1752178947_2124106_1371523132_22e94142782c4d9b81a32b3f2c546cfd.jpg resize: (1080, 1632) 1371523132 -2.856539548802135 treat image : temp/1752178947_2124106_1371523128_fe8b1322ee3c1d366ab1f629f8da54a0.jpg resize: (1080, 1632) 1371523128 -2.8303997100543046 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 : 19 time used for this insertion : 0.012763261795043945 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.011614084243774414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.017332792282104492 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.011889457702636719 time spend for datou_step_exec : 13.41893982887268 time spend to save output : 0.05834841728210449 total time spend for step 1 : 13.477288246154785 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 12.52user 3.50system 0:17.91elapsed 89%CPU (0avgtext+0avgdata 139836maxresident)k 2840inputs+6856outputs (28major+135093minor)pagefaults 0swaps