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 : 1068395 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1068395/ 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 : 3.7751803398132324 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 Sun Apr 6 20:47:33 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/1743965249_1068395_1350141172_3fc3ef8e37c33a578c1768182b2be70b.jpg resize: (1080, 1632) 1350141172 -5.063089479150182 treat image : temp/1743965249_1068395_1350141169_0c6a6abe5650dbd9c2b8519416779c3e.jpg resize: (1080, 1632) 1350141169 -5.930230305835528 treat image : temp/1743965249_1068395_1350141165_c291ea3458f3e4a67aff9b2be783a8bf.jpg resize: (1080, 1632) 1350141165 -5.236628572788205 treat image : temp/1743965249_1068395_1350141162_dcb188bb37ff3c38cbdc13643b7b7df1.jpg resize: (1080, 1632) 1350141162 -3.714206155041991 treat image : temp/1743965249_1068395_1350141158_6915e8698862384c33e1b449d4c8f080.jpg resize: (1080, 1632) 1350141158 -5.538678880063489 treat image : temp/1743965249_1068395_1350141145_49d2d9ff4028142a3cd034d9bf8a6635.jpg resize: (1080, 1632) 1350141145 -1.9502842182031765 treat image : temp/1743965249_1068395_1350141141_281d078e36f486e78f11685544244175.jpg resize: (1080, 1632) 1350141141 -2.2066694472480757 treat image : temp/1743965249_1068395_1350141137_6e2c596512bcf702c54bac0363392518.jpg resize: (1080, 1632) 1350141137 -3.02144763498868 treat image : temp/1743965249_1068395_1350141133_70d4104f0b69a4301e521019d5822aa7.jpg resize: (1080, 1632) 1350141133 -2.478091345953116 treat image : temp/1743965249_1068395_1350141128_78e475a052cf933d1341beff11e703fc.jpg resize: (1080, 1632) 1350141128 -6.168548341042068 treat image : temp/1743965249_1068395_1350141126_310b0c80255b7c7e5d5c1451158fd7e1.jpg resize: (1080, 1632) 1350141126 -6.018508890234914 treat image : temp/1743965249_1068395_1350141117_84a0febdac0d184cc2cb322ebb31c1a6.jpg resize: (1080, 1632) 1350141117 -1.9038620471178982 treat image : temp/1743965249_1068395_1350141113_6a82f7bf16cdec4d195dc0a3b48d984a.jpg resize: (1080, 1632) 1350141113 -2.2443756277949642 treat image : temp/1743965249_1068395_1350141112_6925167daf8f0d09c534796544959045.jpg resize: (1080, 1632) 1350141112 -6.549641993956799 treat image : temp/1743965249_1068395_1350141110_d586c8f77784ab87e62742c6279ce2e8.jpg resize: (1080, 1632) 1350141110 -5.130677302089065 treat image : temp/1743965249_1068395_1350141108_7459c2c6608915b4bb49a2f4bcd7352d.jpg resize: (1080, 1632) 1350141108 -4.738591230337631 treat image : temp/1743965249_1068395_1350141103_6554e3ec4499d0c29148d9f7cf8b7239.jpg resize: (1080, 1632) 1350141103 -5.5586988124943355 treat image : temp/1743965249_1068395_1350141088_434fd1bed4e2f545f14521194df09cda.jpg resize: (1080, 1632) 1350141088 -5.596295215633229 treat image : temp/1743965249_1068395_1350141082_0b8b79e69664f61d74dda875cdc2a978.jpg resize: (1080, 1632) 1350141082 -4.9827461562450255 treat image : temp/1743965249_1068395_1350141078_d2ad883f0ec0373171eef4e19fd91277.jpg resize: (1080, 1632) 1350141078 -4.864471563164917 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.01360321044921875 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.013803958892822266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016113996505737305 save missing photos in datou_result : time spend for datou_step_exec : 17.633798837661743 time spend to save output : 0.04828596115112305 total time spend for step 1 : 17.682084798812866 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 5.32system 0:24.93elapsed 80%CPU (0avgtext+0avgdata 143132maxresident)k 144inputs+9448outputs (11major+261154minor)pagefaults 0swaps