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 : 3478544 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 : 4409>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/3478544/ 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.7758572101593018 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 14:37: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/1752237447_3478544_1371565878_2aae10da4a2a8bbf01bbea44799240e5.jpg resize: (1080, 1632) 1371565878 -5.342483514148147 treat image : temp/1752237447_3478544_1371565877_80f36cbc40778f95f20630f26f4daaf6.jpg resize: (1080, 1632) 1371565877 -5.29390212055427 treat image : temp/1752237447_3478544_1371565876_a928e060dc102dbce8dc9af25132f7d6.jpg resize: (1080, 1632) 1371565876 -5.414524325851825 treat image : temp/1752237447_3478544_1371565874_03651a017735c580dc46b88ed257f26d.jpg resize: (1080, 1632) 1371565874 -5.338417653400056 treat image : temp/1752237447_3478544_1371565872_14f468198a0d291d7ff1df7008e6c625.jpg resize: (1080, 1632) 1371565872 -5.3453086786519455 treat image : temp/1752237447_3478544_1371565871_3a746b85d13e8b0ca2568203e148285a.jpg resize: (1080, 1632) 1371565871 -5.372545414560612 treat image : temp/1752237447_3478544_1371565870_f338e441aadbce4837fe5e2f55ee42ec.jpg resize: (1080, 1632) 1371565870 -5.376252064391126 treat image : temp/1752237447_3478544_1371565869_cba2d2fd26e6ebf10ce32a6180fd77ad.jpg resize: (1080, 1632) 1371565869 -5.303693614319465 treat image : temp/1752237447_3478544_1371565868_e38d8447afb70768cb1e57e39ccf855a.jpg resize: (1080, 1632) 1371565868 -5.2950975662210364 treat image : temp/1752237447_3478544_1371565860_ead2c32a40ba6802ffddf332cce44dc1.jpg resize: (1080, 1632) 1371565860 -5.308227430066089 treat image : temp/1752237447_3478544_1371565859_0613bca4d3c5cf140f30ff23666359c3.jpg resize: (1080, 1632) 1371565859 -5.303732632904751 treat image : temp/1752237447_3478544_1371565844_ce7c300cddc4cdaeef08ff1e70205951.jpg resize: (1080, 1632) 1371565844 -5.401363296223569 treat image : temp/1752237447_3478544_1371565843_31f10c039eb38fae5cad8ff43c220b9a.jpg resize: (1080, 1632) 1371565843 -5.326441136351064 treat image : temp/1752237447_3478544_1371565842_c272b5aeab0c8bcfa7c8e9f0c6132906.jpg resize: (1080, 1632) 1371565842 -5.355972178993902 treat image : temp/1752237447_3478544_1371565841_c948f04ae1d047a9c03e1fc42a75028b.jpg resize: (1080, 1632) 1371565841 -5.316219058246056 treat image : temp/1752237447_3478544_1371565840_ae2f27270e48a0503d454d26360bd773.jpg resize: (1080, 1632) 1371565840 -5.385972503971438 treat image : temp/1752237447_3478544_1371565829_35d52097bfee3f54a2398ebf0aa7871a.jpg resize: (1080, 1632) 1371565829 -5.415060227336254 treat image : temp/1752237447_3478544_1371565799_75f58d1833f55d00202d22d27834d62c.jpg resize: (1080, 1632) 1371565799 -5.375924028892812 treat image : temp/1752237447_3478544_1371565798_41f6539111ee3ae1aea236db4cd71afa.jpg resize: (1080, 1632) 1371565798 -5.348022021482951 treat image : temp/1752237447_3478544_1371565796_13f532452136c3dd916176b058892718.jpg resize: (1080, 1632) 1371565796 -5.390643381737493 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.014447450637817383 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.01350855827331543 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01598358154296875 save missing photos in datou_result : time spend for datou_step_exec : 15.426952600479126 time spend to save output : 0.049115657806396484 total time spend for step 1 : 15.476068258285522 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.91user 3.94system 0:21.50elapsed 83%CPU (0avgtext+0avgdata 141228maxresident)k 40inputs+10432outputs (8major+254709minor)pagefaults 0swaps