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 : 2618521 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 : 6726>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/2618521/ 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.320608377456665 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 00:27:31 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/1751668049_2618521_1370714906_727d088efdaa91fccb0a60a2a0687f4c.jpg resize: (1080, 1632) 1370714906 -4.339102289022964 treat image : temp/1751668049_2618521_1370714904_ba76efa3c7f1c5cc67d57b1086252bbd.jpg resize: (1080, 1632) 1370714904 -4.340841543793455 treat image : temp/1751668049_2618521_1370714902_a64f738cb788bd13dcce6fbe67170697.jpg resize: (1080, 1632) 1370714902 -4.358305317513869 treat image : temp/1751668049_2618521_1370714901_75b11371da5c727073850f1f875bae78.jpg resize: (1080, 1632) 1370714901 -4.3696938934073355 treat image : temp/1751668049_2618521_1370714899_ecd997986a096c7f83c40be3f839d927.jpg resize: (1080, 1632) 1370714899 -4.3879249233204085 treat image : temp/1751668049_2618521_1370714896_85b1963d654595de4fc36b63f19d9cfa.jpg resize: (1080, 1632) 1370714896 -4.390012031330771 treat image : temp/1751668049_2618521_1370714838_b3408e444b12b0cd033fd16b454601f7.jpg resize: (1080, 1632) 1370714838 -4.394352814310058 treat image : temp/1751668049_2618521_1370714836_68653383d13bf69a6a8497ee6cd4e07a.jpg resize: (1080, 1632) 1370714836 -4.40677419203048 treat image : temp/1751668049_2618521_1370714832_fed91d23df48d0696c537e7227e3bafc.jpg resize: (1080, 1632) 1370714832 -4.423839528799594 treat image : temp/1751668049_2618521_1370714831_9fe687f225919c1526109e80d72a5123.jpg resize: (1080, 1632) 1370714831 -4.4334748761612905 treat image : temp/1751668049_2618521_1370714830_0ecee75f1d82e841c0dc30141c65018b.jpg resize: (1080, 1632) 1370714830 -4.438738755565613 treat image : temp/1751668049_2618521_1370714828_8de30460fe95d1beecf3bafb59a23794.jpg resize: (1080, 1632) 1370714828 -4.445101819923561 treat image : temp/1751668049_2618521_1370714739_5d4e7ed8051d3c853989e4d0f2f727cf.jpg resize: (1080, 1632) 1370714739 -4.445432313532043 treat image : temp/1751668049_2618521_1370714737_377de92a4353b180d089dd155d7f887b.jpg resize: (1080, 1632) 1370714737 -4.443955203971465 treat image : temp/1751668049_2618521_1370714735_e05474e3c8fc3ea28d511c7f1d3f70d3.jpg resize: (1080, 1632) 1370714735 -4.458349481077062 treat image : temp/1751668049_2618521_1370714724_93c26f01b696a7a7be1034210a2f0c5a.jpg resize: (1080, 1632) 1370714724 -4.461353581819473 treat image : temp/1751668049_2618521_1370714716_c0e96ec47f92d4a0f949e2b6f4764973.jpg resize: (1080, 1632) 1370714716 -4.4713096986305985 treat image : temp/1751668049_2618521_1370714713_7cff9a4b52442cbb564d770c62fd7f28.jpg resize: (1080, 1632) 1370714713 -4.478170120262132 treat image : temp/1751668049_2618521_1370714315_d4377ea12f25169cf407e685c7d328d5.jpg resize: (1080, 1632) 1370714315 -4.589317671641399 treat image : temp/1751668049_2618521_1370714313_aed2bb880532e3a5bf3f26c4ec4f8464.jpg resize: (1080, 1632) 1370714313 -4.59338834259045 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.014826774597167969 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.1696007251739502 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020963191986083984 save missing photos in datou_result : time spend for datou_step_exec : 16.66875720024109 time spend to save output : 0.21051907539367676 total time spend for step 1 : 16.879276275634766 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.70user 5.31system 0:22.41elapsed 84%CPU (0avgtext+0avgdata 138596maxresident)k 104inputs+8712outputs (10major+259767minor)pagefaults 0swaps