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 : 3617175 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 : 4666>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3617175/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.055298328399658 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 Sat Jul 5 09:17: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/1751699848_3617175_1370769560_24953c1760cce7b5b3d6d91ef8271528.jpg resize: (1080, 1632) 1370769560 -3.2564095279362486 treat image : temp/1751699848_3617175_1370769558_8961b3cd2fce642134aa1cdb02ce7524.jpg resize: (1080, 1632) 1370769558 -1.3527052888308766 treat image : temp/1751699848_3617175_1370769556_cef547faa448823df03507be6eb8f79f.jpg resize: (1080, 1632) 1370769556 -2.765355706196371 treat image : temp/1751699848_3617175_1370769555_1c9e058476c6dfb4120e6443c1bd77a2.jpg resize: (1080, 1632) 1370769555 -2.7627489415503557 treat image : temp/1751699848_3617175_1370769547_2ed02cf218613cd740ab6b9b186757b0.jpg resize: (1080, 1632) 1370769547 -2.732991085195113 treat image : temp/1751699848_3617175_1370769525_b4106eb41efe91046988b2b782679fa8.jpg resize: (1080, 1632) 1370769525 -3.9364565634878956 treat image : temp/1751699848_3617175_1370769497_cc6ce10e404b8234467ae6d080c51bde.jpg resize: (1080, 1632) 1370769497 -6.012128141610599 treat image : temp/1751699848_3617175_1370769492_f2759eb3217ef9ebf40d3bdc182b42c7.jpg resize: (1080, 1632) 1370769492 -5.877382121775245 treat image : temp/1751699848_3617175_1370769490_0820d1054f5dfb95c16ffb91ce0e90e2.jpg resize: (1080, 1632) 1370769490 -5.4307848585210765 treat image : temp/1751699848_3617175_1370769487_0bd504badb38aee762fdf501e7c4b93c.jpg resize: (1080, 1632) 1370769487 -5.5113869843628045 treat image : temp/1751699848_3617175_1370769485_67457b5ce3ea9c9c0d3bb18f8dce0bd0.jpg resize: (1080, 1632) 1370769485 -3.223032040457791 treat image : temp/1751699848_3617175_1370769484_2588d3180f781c9c52e10ee55317dad1.jpg resize: (1080, 1632) 1370769484 -5.492436062498182 treat image : temp/1751699848_3617175_1370769476_03c5101be068bf562428c7a91a113960.jpg resize: (1080, 1632) 1370769476 -5.089382657314022 treat image : temp/1751699848_3617175_1370769474_1f766aca1a2d367cd112dc5e68bd66d9.jpg resize: (1080, 1632) 1370769474 -5.121842444840421 treat image : temp/1751699848_3617175_1370769472_56f6c3ffcada993300c288d273e07acf.jpg resize: (1080, 1632) 1370769472 -4.7218595266883785 treat image : temp/1751699848_3617175_1370769471_22d939f2b5d17216350e07bd7f5635e9.jpg resize: (1080, 1632) 1370769471 -5.2367191390586365 treat image : temp/1751699848_3617175_1370769470_f34866c516c0859ee248167634980d49.jpg resize: (1080, 1632) 1370769470 -5.213516852617263 treat image : temp/1751699848_3617175_1370769468_026745aa7b5cb5acfa9413c1a02961ac.jpg resize: (1080, 1632) 1370769468 -5.166043716176996 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.012632369995117188 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.013014793395996094 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.016901493072509766 save missing photos in datou_result : time spend for datou_step_exec : 15.144120216369629 time spend to save output : 0.047278404235839844 total time spend for step 1 : 15.191398620605469 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.95user 4.57system 0:20.71elapsed 84%CPU (0avgtext+0avgdata 137896maxresident)k 200inputs+8456outputs (3major+238077minor)pagefaults 0swaps