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 : 3312499 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 : 7871>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3312499/ 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.6177773475646973 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 Thu Jul 31 19:12: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/1753981948_3312499_1374636615_2dfd0a7ee20190c5b6f745e5602cdc37.jpg resize: (1080, 1632) 1374636615 -4.155667609538893 treat image : temp/1753981948_3312499_1374636604_e74a66bc163c127bf95a19d052da276c.jpg resize: (1080, 1632) 1374636604 -5.701856302146403 treat image : temp/1753981948_3312499_1374636603_68ad55e0d16fd1168cdbfe518d23cb05.jpg resize: (1080, 1632) 1374636603 -5.73983202106645 treat image : temp/1753981948_3312499_1374636602_1b69acfd9388577b2bdb90e2325402f2.jpg resize: (1080, 1632) 1374636602 -5.069634517391959 treat image : temp/1753981948_3312499_1374636601_08bff1818e051ea33e58a9e3e536bc60.jpg resize: (1080, 1632) 1374636601 -4.085131705694235 treat image : temp/1753981948_3312499_1374636596_ce49908b5357b9eaf7274b15dda7eb20.jpg resize: (1080, 1632) 1374636596 -6.003397375353477 treat image : temp/1753981948_3312499_1374636576_132cad68f50403cfba5cd6cc2a23ddd8.jpg resize: (1080, 1632) 1374636576 -4.668500144615124 treat image : temp/1753981948_3312499_1374636575_af37f713e90f46b913dfec5894fe282a.jpg resize: (1080, 1632) 1374636575 -0.6142077760624769 treat image : temp/1753981948_3312499_1374636574_d8567f4c52af5c1f000f91b58ce3d659.jpg resize: (1080, 1632) 1374636574 -1.2230806798428302 treat image : temp/1753981948_3312499_1374636573_bf74e8e1d976aac528d121c814932752.jpg resize: (1080, 1632) 1374636573 -1.2440959790144022 treat image : temp/1753981948_3312499_1374636572_3d8a95b22d4bd61e8ece106243b7ba5b.jpg resize: (1080, 1632) 1374636572 -2.7851584671985443 treat image : temp/1753981948_3312499_1374636571_539aa51d897cda386efd52189b5ffc38.jpg resize: (1080, 1632) 1374636571 -5.231137780889706 treat image : temp/1753981948_3312499_1374636547_bb109b0da074f9dc8c3d2ec372a1efb7.jpg resize: (1080, 1632) 1374636547 -5.127926212282455 treat image : temp/1753981948_3312499_1374636537_600609ae5c23489c4ae044eef2d24c0c.jpg resize: (1080, 1632) 1374636537 -4.975719487977706 treat image : temp/1753981948_3312499_1374636521_6ef9f9fb4f3f35268715e963e22e7b96.jpg resize: (1080, 1632) 1374636521 -4.483217128238521 treat image : temp/1753981948_3312499_1374636496_3f1b2c80b98da9f000a432d1762f8f7f.jpg resize: (1080, 1632) 1374636496 -4.473475089580447 treat image : temp/1753981948_3312499_1374636494_14f828712c7253991ee0be53f630b686.jpg resize: (1080, 1632) 1374636494 -5.256988391916821 treat image : temp/1753981948_3312499_1374636492_29f6aed17666f03cb392556a37d61223.jpg resize: (1080, 1632) 1374636492 -5.955697614088803 treat image : temp/1753981948_3312499_1374636464_7048bd34df22d5627076b2a1c1bc6628.jpg resize: (1080, 1632) 1374636464 -0.7371835035172724 treat image : temp/1753981948_3312499_1374636463_8340bb98a5be3badead1b0edbb73542b.jpg resize: (1080, 1632) 1374636463 -1.4782012114264536 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.017325401306152344 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.015140771865844727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017890453338623047 save missing photos in datou_result : time spend for datou_step_exec : 14.938154935836792 time spend to save output : 0.17517900466918945 total time spend for step 1 : 15.113333940505981 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 3.47system 0:21.32elapsed 83%CPU (0avgtext+0avgdata 139556maxresident)k 1632inputs+9144outputs (17major+255634minor)pagefaults 0swaps