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 : 2059068 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 updating current state to 1 we have a portfolio with more photos than limit : 3722>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/2059068/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.118501901626587 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 Sep 4 22:17: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/1757017048_2059068_1381544993_8ff09e5bfe686080d75ea9fe6ffa5955_35281464.jpg resize: (1080, 1632) 1381544993 -5.524900669924317 treat image : temp/1757017048_2059068_1381544991_1df6a84069865ca9b0090c5283606c41_18487164.jpg resize: (1080, 1632) 1381544991 -3.827906366152184 treat image : temp/1757017048_2059068_1381544989_f0c79dfedf3a2da07633fce84b20a9a4_36269900.jpg resize: (1080, 1632) 1381544989 -6.070913399590188 treat image : temp/1757017048_2059068_1381544987_4f761223b71cdc9eb88359bad69dff55_11164615.jpg resize: (1080, 1632) 1381544987 -5.92241635383301 treat image : temp/1757017048_2059068_1381544985_9141ed8c2dc49d151efef1887c69af08_69299799.jpg resize: (1080, 1632) 1381544985 -4.616768273040534 treat image : temp/1757017048_2059068_1381544983_ea54991031dcde530e850a0ccef9b51b_96347758.jpg resize: (1080, 1632) 1381544983 -6.1265352115432465 treat image : temp/1757017048_2059068_1381544857_e49af9ffa96c5615c45db2a915752d8a_826423.jpg resize: (1080, 1632) 1381544857 -2.349515763415865 treat image : temp/1757017048_2059068_1381544855_af3134a0c62f17b0a3133c094c8fdc7f_84320585.jpg resize: (1080, 1632) 1381544855 -2.9550753885719923 treat image : temp/1757017048_2059068_1381544852_21e639bf1dd828776f1eeaf16c149421_11231318.jpg resize: (1080, 1632) 1381544852 -5.332491255339424 treat image : temp/1757017048_2059068_1381544850_91c9d0226f987258eb7d247d3f09542e_9005639.jpg resize: (1080, 1632) 1381544850 -3.59273751338073 treat image : temp/1757017048_2059068_1381544848_8a89beadf9d07680c3a6f4c0170baa97_32470006.jpg resize: (1080, 1632) 1381544848 -5.138885114730661 treat image : temp/1757017048_2059068_1381544729_d7d108937fa25afba7fb5d10983ed7e9_42486794.jpg resize: (1080, 1632) 1381544729 -5.493336483779032 treat image : temp/1757017048_2059068_1381544727_e25d769108398f5ac4395460835701ed_96330477.jpg resize: (1080, 1632) 1381544727 -5.5204241723870595 treat image : temp/1757017048_2059068_1381544726_aeddce005b29d591cd7af6015bdf8fb4_30611038.jpg resize: (1080, 1632) 1381544726 -5.215523786835053 treat image : temp/1757017048_2059068_1381544724_b58921a4abf452a92462e881a1201f1c_74445098.jpg resize: (1080, 1632) 1381544724 -5.900810021578574 treat image : temp/1757017048_2059068_1381544723_62ead643af9fdcb41b0acf0fb01cbcc3_82515658.jpg resize: (1080, 1632) 1381544723 -5.088868345014498 treat image : temp/1757017048_2059068_1381544721_a85d5d173eaaa0a7283f211767ed9215_37972223.jpg resize: (1080, 1632) 1381544721 0.3421709772089251 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.03621101379394531 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.03682065010070801 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.037848472595214844 save missing photos in datou_result : time spend for datou_step_exec : 13.138394355773926 time spend to save output : 0.12554192543029785 total time spend for step 1 : 13.263936281204224 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.16user 3.44system 0:17.78elapsed 87%CPU (0avgtext+0avgdata 138976maxresident)k 160inputs+8712outputs (19major+230092minor)pagefaults 0swaps