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 : 92209 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 : 7577>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/92209/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371582894 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256347_92209_1371582894_79d1195adfa5626e56e247dfe932251c.jpg FBHTTP Error 404: Not Found can't download the photo : 1371582883 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256347_92209_1371582883_87d233cd40a850085e0b03a11c63a861.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371582717 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256347_92209_1371582717_0c67aa53bae471fa278c381ad38b60af.jpg FBFBFBFBFwe have missing 3 photos in the step downloads : photo missing : [1371582894, 1371582883, 1371582717] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582894 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582883 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582717 length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 3.4088871479034424 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 19:52: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/1752256347_92209_1371650630_8e4a665c2898c225f9c5481424bdb3e0.jpg resize: (1080, 1632) 1371650630 -5.170761265777876 treat image : temp/1752256347_92209_1371650621_04fe745e7c2c5fdd3026ae822501887a.jpg resize: (1080, 1632) 1371650621 -5.1734590351659895 treat image : temp/1752256347_92209_1371650619_b6e172bfb2a3814ae0fbfea344b4ec5d.jpg resize: (1080, 1632) 1371650619 -5.182943108405435 treat image : temp/1752256347_92209_1371650612_8c59676420610ff31c1c2712c596ae4a.jpg resize: (1080, 1632) 1371650612 -5.183994314909546 treat image : temp/1752256347_92209_1371650606_6fa68adb2f6780d2ffc85f1d63f94c9a.jpg resize: (1080, 1632) 1371650606 -5.159583147583655 treat image : temp/1752256347_92209_1371650601_8b770a878311719077983bdd67d28c37.jpg resize: (1080, 1632) 1371650601 -5.150036304023719 treat image : temp/1752256347_92209_1371650586_9247c6544697a7374f1bfd78c5a61ff2.jpg resize: (1080, 1632) 1371650586 -3.9046893485772727 treat image : temp/1752256347_92209_1371650583_57997b6caf668e5b9da9b047fd70d6ad.jpg resize: (1080, 1632) 1371650583 -5.398953747416653 treat image : temp/1752256347_92209_1371650580_b6254a157d4f87284c585e806d6ff7d3.jpg resize: (1080, 1632) 1371650580 -5.740714050080818 treat image : temp/1752256347_92209_1371650579_06c44873db5acb9daada3687f0169926.jpg resize: (1080, 1632) 1371650579 -4.255877202516599 treat image : temp/1752256347_92209_1371650577_c4cb13beba08c7c550a276ee7ca4cf87.jpg resize: (1080, 1632) 1371650577 -1.3019961626155663 treat image : temp/1752256347_92209_1371650573_aa7e0cf2cb3080336a0232c283f544f3.jpg resize: (1080, 1632) 1371650573 -2.112750271319377 treat image : temp/1752256347_92209_1371582780_92e181b9b686f9689f929c7747a3e7a2.jpg resize: (1080, 1632) 1371582780 -5.052159893178479 treat image : temp/1752256347_92209_1371582504_4760b71908417b2d806a0849adc8a1fd.jpg resize: (1080, 1632) 1371582504 -5.129806194391097 treat image : temp/1752256347_92209_1371582466_86fd3b7fe0c34317dd15f9ca80377829.jpg resize: (1080, 1632) 1371582466 -4.894140153726192 treat image : temp/1752256347_92209_1371582351_a62cc54177b0e862828365f57dbcdb10.jpg resize: (1080, 1632) 1371582351 -4.97585777290113 treat image : temp/1752256347_92209_1371582345_a75cff3190e3c7fe174975e2b05bdaad.jpg resize: (1080, 1632) 1371582345 -5.2210392637299305 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 : 17 time used for this insertion : 0.013651371002197266 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.013921260833740234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.017113447189331055 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01493692398071289 time spend for datou_step_exec : 15.914697170257568 time spend to save output : 0.06442117691040039 total time spend for step 1 : 15.979118347167969 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.09user 5.13system 0:21.78elapsed 83%CPU (0avgtext+0avgdata 139116maxresident)k 80inputs+8184outputs (8major+233721minor)pagefaults 0swaps