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 : 2144815 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 : 1847>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2144815/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB[Errno 104] Connection reset by peer can't download the photo : 1359798374 complete_path : /home/admin/workarea/git/Velours/python/temp/1747735647_2144815_1359798374_7e5e1b0a6d20fbffff16c8f2c6e2acb7.jpg FBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1359798374] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 132.99403309822083 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 Tue May 20 12:09:39 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/1747735647_2144815_1359798726_990367ab2a4cef47536603197db430c1.jpg resize: (1080, 1632) 1359798726 -5.271346124302476 treat image : temp/1747735647_2144815_1359798722_a948161054735ce98b7e503d3dae40e4.jpg resize: (1080, 1632) 1359798722 -1.5722975384864917 treat image : temp/1747735647_2144815_1359798718_d8f2bb5276ddc35c4aae66912ac87eaf.jpg resize: (1080, 1632) 1359798718 -2.084505970202995 treat image : temp/1747735647_2144815_1359798534_66a8d59230407561e6ad389aae1b4053.jpg resize: (1080, 1632) 1359798534 -2.7517111718731564 treat image : temp/1747735647_2144815_1359798510_75cac27d9d68dc324f2f96d2711cce40.jpg resize: (1080, 1632) 1359798510 -4.306329667427788 treat image : temp/1747735647_2144815_1359798503_6c0312ecb945b400da75727e2c875cbe.jpg resize: (1080, 1632) 1359798503 -3.4691652883801933 treat image : temp/1747735647_2144815_1359798485_2de1f29abe0ad0b9bf7f0ef65ab4af6e.jpg resize: (1080, 1632) 1359798485 -3.324230757289909 treat image : temp/1747735647_2144815_1359798480_d21ed318b987c95966a26f8ead5d095b.jpg resize: (1080, 1632) 1359798480 -4.239561035683989 treat image : temp/1747735647_2144815_1359798475_a90bbe65bee40b9e18b15c59c0ece464.jpg resize: (1080, 1632) 1359798475 -1.3766287192815263 treat image : temp/1747735647_2144815_1359798432_5fe2bd4b567b37412a744793f00552ed.jpg resize: (1080, 1632) 1359798432 -1.3762430038974494 treat image : temp/1747735647_2144815_1359798426_6470ffdfadb5a9eebf3b01a8f828abed.jpg resize: (1080, 1632) 1359798426 -2.864000454210751 treat image : temp/1747735647_2144815_1359798420_a28bcec7a369a4d8d93a6ceec4630147.jpg resize: (1080, 1632) 1359798420 -5.066697525921472 treat image : temp/1747735647_2144815_1359798417_017a9753d5f1df1c6abecc593edad335.jpg resize: (1080, 1632) 1359798417 -4.308018355583927 treat image : temp/1747735647_2144815_1359798384_4d0dc80bd5decde4614f2de236e39e54.jpg resize: (1080, 1632) 1359798384 -3.7340304223319696 treat image : temp/1747735647_2144815_1359798379_118ea315e0b981c5dac66b8cbece4b1b.jpg resize: (1080, 1632) 1359798379 -4.115171780196816 treat image : temp/1747735647_2144815_1359798370_603f6f995d8f6b9b43db26cd29127b5d.jpg resize: (1080, 1632) 1359798370 -4.71795937891876 treat image : temp/1747735647_2144815_1359798365_84a6674983b51c7a4f1b2cbcccd7481c.jpg resize: (1080, 1632) 1359798365 -4.287052446348401 treat image : temp/1747735647_2144815_1359798345_16c07f023baf13a714490c20e9c815b0.jpg resize: (1080, 1632) 1359798345 -2.3518371711063915 treat image : temp/1747735647_2144815_1359798340_7e2009a52d0205aa87196cfea2911b72.jpg resize: (1080, 1632) 1359798340 -2.0821909247554817 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 : 19 time used for this insertion : 0.013607978820800781 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.012828350067138672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.014787912368774414 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.011997222900390625 time spend for datou_step_exec : 15.414829015731812 time spend to save output : 0.058045387268066406 total time spend for step 1 : 15.472874402999878 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.65user 4.50system 2:30.68elapsed 12%CPU (0avgtext+0avgdata 139720maxresident)k 8744inputs+7328outputs (22major+246917minor)pagefaults 0swaps