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 : 1497642 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 : 2774>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/1497642/ 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.5296859741210938 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 18:32:33 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/1757003551_1497642_1381468749_dcafc1b42a13311bb01c737b3e5039fd_14372785.jpg resize: (1080, 1632) 1381468749 -1.767746804187108 treat image : temp/1757003551_1497642_1381468748_0f3840bae8d3b5dd2902d95a8a08163a_34147096.jpg resize: (1080, 1632) 1381468748 -2.2134130388879893 treat image : temp/1757003551_1497642_1381468687_8de3b466db56258b6b840d62c8024b83_29606034.jpg resize: (1080, 1632) 1381468687 -5.586807962604879 treat image : temp/1757003551_1497642_1381468686_b586d6b8337d4cce85e6b4c649ca88c7_20706682.jpg resize: (1080, 1632) 1381468686 -5.0009833397463925 treat image : temp/1757003551_1497642_1381468685_69f339d133ed409ddeef37ed3edc8005_20968828.jpg resize: (1080, 1632) 1381468685 -5.633288460412873 treat image : temp/1757003551_1497642_1381468683_46e76aea0bf08b464f01d3586dc4be48_95495748.jpg resize: (1080, 1632) 1381468683 -4.912729482343929 treat image : temp/1757003551_1497642_1381468598_bbe7d9f02b95b4bfc45bc3dff4114993_50134443.jpg resize: (1080, 1632) 1381468598 -5.532503154739811 treat image : temp/1757003551_1497642_1381468597_c94e94f0b3c5690d9491305e3b931506_40952000.jpg resize: (1080, 1632) 1381468597 -5.042442596353078 treat image : temp/1757003551_1497642_1381468595_c80129008318b6319b542320ed7d4061_74802277.jpg resize: (1080, 1632) 1381468595 -5.030519642783554 treat image : temp/1757003551_1497642_1381468593_073ea7814109e35d4731096157ac8394_93711151.jpg resize: (1080, 1632) 1381468593 -5.079036739094106 treat image : temp/1757003551_1497642_1381468591_5ea61f1f5493b0cb782b4b92612d99c0_92681617.jpg resize: (1080, 1632) 1381468591 -4.184908338497872 treat image : temp/1757003551_1497642_1381468588_00b2bbf3e5e497a89c67fbab21868ecb_80727510.jpg resize: (1080, 1632) 1381468588 -3.6425617561300436 treat image : temp/1757003551_1497642_1381447057_16177f42ad0302a63c37fe997dd4ec38_60807653.jpg resize: (1080, 1632) 1381447057 -5.175996071228731 treat image : temp/1757003551_1497642_1381447056_16177f42ad0302a63c37fe997dd4ec38_60807653.jpg resize: (1080, 1632) 1381447056 -5.175996071228731 treat image : temp/1757003551_1497642_1381447030_78a042cd0d92a984233c8d237ede9a96_42354807.jpg resize: (1080, 1632) 1381447030 -1.249691130366837 treat image : temp/1757003551_1497642_1381447025_28293785c35372a0850242ca7d7fc5fe_393735.jpg resize: (1080, 1632) 1381447025 -0.978875625656813 treat image : temp/1757003551_1497642_1381447021_12bfb3d915ee0ee8a143686534ec57e9_31517744.jpg resize: (1080, 1632) 1381447021 -3.262207579674419 treat image : temp/1757003551_1497642_1381447019_a4ad0fc2216bf63f3e5e388ec53b2a46_36544108.jpg resize: (1080, 1632) 1381447019 -3.9486607224755588 treat image : temp/1757003551_1497642_1381447017_dab7c53b7fea8ec38e39f6b8c6e5f620_62860022.jpg resize: (1080, 1632) 1381447017 -3.745228759976963 treat image : temp/1757003551_1497642_1381447015_682167d0728739b219e9118ba8f76d10_84315563.jpg resize: (1080, 1632) 1381447015 -4.624775731639969 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.022515535354614258 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.025313138961791992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02407050132751465 save missing photos in datou_result : time spend for datou_step_exec : 16.569488048553467 time spend to save output : 0.08222270011901855 total time spend for step 1 : 16.651710748672485 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 5.00system 0:23.97elapsed 81%CPU (0avgtext+0avgdata 139796maxresident)k 176inputs+8952outputs (1major+252503minor)pagefaults 0swaps