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 : 233833 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/233833/ 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 : 3.4440646171569824 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 Wed Sep 17 02:42:32 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/1758069748_233833_1359500535_fa9b986dac62b4f9dc55ffb309d06173.jpg resize: (1080, 1632) 1359500535 -4.9104124244001275 treat image : temp/1758069748_233833_1359500361_6fb5d9e3fbf415f40716c80fc9ca785f.jpg resize: (1080, 1632) 1359500361 -1.3990249051427686 treat image : temp/1758069748_233833_1359500338_12e61194fe8bc71307ae261d36816eb5.jpg resize: (1080, 1632) 1359500338 -2.9418696471266377 treat image : temp/1758069748_233833_1359500290_e9966a9568488593b717595387c6c39f.jpg resize: (1080, 1632) 1359500290 -3.88791861875167 treat image : temp/1758069748_233833_1359499976_8d37d2b780e7fbd53875cb90f8b45fd5.jpg resize: (1080, 1632) 1359499976 -5.135486764913943 treat image : temp/1758069748_233833_1359499883_5cec310090c7d2ee317a36a4cdbbdb90.jpg resize: (1080, 1632) 1359499883 -2.874789965032461 treat image : temp/1758069748_233833_1359499796_b033813a362ccb88bac84f524bb1d463.jpg resize: (1080, 1632) 1359499796 -4.373917636969044 treat image : temp/1758069748_233833_1359499739_79ecffdaa624224154378a347ff33d10.jpg resize: (1080, 1632) 1359499739 -5.360819723579986 treat image : temp/1758069748_233833_1359499689_ccd92e6660a10208a92d485027c4ac42.jpg resize: (1080, 1632) 1359499689 -3.537888706499802 treat image : temp/1758069748_233833_1359499354_4c78902ce0fa17e89ca054547084c4c2.jpg resize: (1080, 1632) 1359499354 -5.66456422999118 treat image : temp/1758069748_233833_1359499328_4259988ba80e4ae1905f187c9c241b0f.jpg resize: (1080, 1632) 1359499328 -5.747521018735822 treat image : temp/1758069748_233833_1359499301_f1d5b8f6c3f94b276acaaf060a148d2b.jpg resize: (1080, 1632) 1359499301 -3.8087461396231204 treat image : temp/1758069748_233833_1359499262_6effdbb3a574f24b4f89610b5e1941af.jpg resize: (1080, 1632) 1359499262 -5.809862948149568 treat image : temp/1758069748_233833_1359499207_ccb5b38f6718854513a32c91138c046d.jpg resize: (1080, 1632) 1359499207 -5.36027481300043 treat image : temp/1758069748_233833_1359499181_81c3b3152e024b121108e435df7f2736.jpg resize: (1080, 1632) 1359499181 -5.32653770986241 treat image : temp/1758069748_233833_1359499080_ce1f770cb3c72d9ee99c74a5557ffec5.jpg resize: (1080, 1632) 1359499080 -4.449993901222782 treat image : temp/1758069748_233833_1359499053_a40d9c50e70e27a6c4642f694fd650e6.jpg resize: (1080, 1632) 1359499053 -5.03981739242237 treat image : temp/1758069748_233833_1359499022_aeee24cd1b97ab2962f320f7796cc146.jpg resize: (1080, 1632) 1359499022 -5.633709552902983 treat image : temp/1758069748_233833_1359498995_6da99b1aba80d196db243aaf7448ded9.jpg resize: (1080, 1632) 1359498995 -5.59499204073652 treat image : temp/1758069748_233833_1359498966_91e19ec8788ed67fbf07712de921b4a0.jpg resize: (1080, 1632) 1359498966 -5.325687146830142 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.015711307525634766 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.01784801483154297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01702427864074707 save missing photos in datou_result : time spend for datou_step_exec : 15.010648250579834 time spend to save output : 0.05541563034057617 total time spend for step 1 : 15.06606388092041 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.35system 0:22.80elapsed 77%CPU (0avgtext+0avgdata 137448maxresident)k 128inputs+9472outputs (1major+263947minor)pagefaults 0swaps