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 : 2398199 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 : 1273>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2398199/ 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.3375401496887207 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 May 16 06:27:29 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/1747369647_2398199_1358823486_0f9d48d0f6d7842b6a573a77f3f5b3fb.jpg resize: (1080, 1632) 1358823486 -4.989468319063774 treat image : temp/1747369647_2398199_1358823452_bfa4950e840caac86dc349582c253118.jpg resize: (1080, 1632) 1358823452 -5.3622082569547445 treat image : temp/1747369647_2398199_1358823415_5a73979ae35d2b65a90bc2e1f07c3728.jpg resize: (1080, 1632) 1358823415 -5.556197439340604 treat image : temp/1747369647_2398199_1358823374_0ec03dc1b66b1017a7e4121177a945aa.jpg resize: (1080, 1632) 1358823374 -3.6522316079735155 treat image : temp/1747369647_2398199_1358823323_65619286c73305b223897a60b64d9aab.jpg resize: (1080, 1632) 1358823323 -3.004820545473034 treat image : temp/1747369647_2398199_1358823280_aaae730ccc9a8b91b122312f02519c77.jpg resize: (1080, 1632) 1358823280 0.22407572944807985 treat image : temp/1747369647_2398199_1358823024_df5ba0fce7edca6b609efb03ba4209b5.jpg resize: (1080, 1632) 1358823024 -1.2598383404760056 treat image : temp/1747369647_2398199_1358823021_981c6b49b7a9f8e00b06945bf338d69b.jpg resize: (1080, 1632) 1358823021 -5.744533175943161 treat image : temp/1747369647_2398199_1358823000_ad551b304d0bb48ea38944ba993145d1.jpg resize: (1080, 1632) 1358823000 -2.6895195650937507 treat image : temp/1747369647_2398199_1358822973_9ee44164ecaf3c1324e45e993bbd9124.jpg resize: (1080, 1632) 1358822973 -5.3086645085645605 treat image : temp/1747369647_2398199_1358822946_2e7ae24f2037c32cb594a237748e3b63.jpg resize: (1080, 1632) 1358822946 -5.490478078852308 treat image : temp/1747369647_2398199_1358822467_2191f60182573321edba402aea1e8d00.jpg resize: (1080, 1632) 1358822467 -5.2626499187988935 treat image : temp/1747369647_2398199_1358822438_347f4e85029677ee06ee9396ac42c2ef.jpg resize: (1080, 1632) 1358822438 0.4575027110957809 treat image : temp/1747369647_2398199_1358822394_536a8fdf4ed092c175fb51dd78638b76.jpg resize: (1080, 1632) 1358822394 -1.8760433946788682 treat image : temp/1747369647_2398199_1358822243_6447557db1cc22aba8c21f6abfb5f9e4.jpg resize: (1080, 1632) 1358822243 -2.4666545975279472 treat image : temp/1747369647_2398199_1358821864_598c83cbf25c6caff2dc5560ed0e2c1a.jpg resize: (1080, 1632) 1358821864 -4.830570792036467 treat image : temp/1747369647_2398199_1358821836_9bffab5c2e1311541f2fc77e9d1fa4ef.jpg resize: (1080, 1632) 1358821836 -5.6429279197785345 treat image : temp/1747369647_2398199_1358821831_2f9dd3644984c63eb13b0f1934abe6e8.jpg resize: (1080, 1632) 1358821831 -4.678072018061919 treat image : temp/1747369647_2398199_1358821828_619a867618e52f974dcb70fd5e5be35b.jpg resize: (1080, 1632) 1358821828 -3.7420577344739674 treat image : temp/1747369647_2398199_1358821825_b301159e10874757fd5dc7cb94ecd06d.jpg resize: (1080, 1632) 1358821825 -3.4581150234989013 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.013707399368286133 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.013925790786743164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014996051788330078 save missing photos in datou_result : time spend for datou_step_exec : 15.613392114639282 time spend to save output : 0.04753398895263672 total time spend for step 1 : 15.660926103591919 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 3.34system 0:20.25elapsed 88%CPU (0avgtext+0avgdata 139036maxresident)k 120inputs+8576outputs (13major+254384minor)pagefaults 0swaps