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 : 1994069 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 : 6072>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1994069/ 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.4815409183502197 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 Jul 2 23:02: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/1751490149_1994069_1370154004_d6479b6ebb2e58fe0c62bbc6acaf2841.jpg resize: (1080, 1632) 1370154004 -5.842651664202398 treat image : temp/1751490149_1994069_1370153990_eaf686bf2bb2583d27a94b4f231d80ec.jpg resize: (1080, 1632) 1370153990 -5.842651664202398 treat image : temp/1751490149_1994069_1370153899_d59c83b24afd813e9e7c0b0d005daf9b.jpg resize: (1080, 1632) 1370153899 -5.8436820438735175 treat image : temp/1751490149_1994069_1370153880_32184eac9d9452d12c1f94a56914bb75.jpg resize: (1080, 1632) 1370153880 -5.8436820438735175 treat image : temp/1751490149_1994069_1370153803_6c847e4f59acf5c5375b40bd0f426290.jpg resize: (1080, 1632) 1370153803 -5.840779255274515 treat image : temp/1751490149_1994069_1370153790_91d121706cfe6182b740822faec8d9ef.jpg resize: (1080, 1632) 1370153790 -5.840779255274515 treat image : temp/1751490149_1994069_1370153733_28c1861cc02a51f3fa518ac7209744c3.jpg resize: (1080, 1632) 1370153733 -5.845338877972756 treat image : temp/1751490149_1994069_1370153724_f500f855635bea43b9c8f3deae5028c2.jpg resize: (1080, 1632) 1370153724 -5.845338877972756 treat image : temp/1751490149_1994069_1370153699_893ea1933acc2cddfd43765c5d000217.jpg resize: (1080, 1632) 1370153699 -5.844647361139954 treat image : temp/1751490149_1994069_1370153698_7e606b159d9c0204097e4933bdbc218e.jpg resize: (1080, 1632) 1370153698 -5.844647361139954 treat image : temp/1751490149_1994069_1370153682_8a452d4118cb35db830e443b0ae06406.jpg resize: (1080, 1632) 1370153682 -5.844216306907506 treat image : temp/1751490149_1994069_1370153680_4fda73ec56a5c037fc8d6f2446bf0b57.jpg resize: (1080, 1632) 1370153680 -5.844216306907506 treat image : temp/1751490149_1994069_1370153565_edb41eae5f1667a0c8e19b06a4b02019.jpg resize: (1080, 1632) 1370153565 -5.9724369084681985 treat image : temp/1751490149_1994069_1370153532_8eaa0ec60eb23c4aa5bc892b1ad2f9b4.jpg resize: (1080, 1632) 1370153532 -5.839783167944148 treat image : temp/1751490149_1994069_1370153499_e7d5faa9187e020f777a4bffc2261eab.jpg resize: (1080, 1632) 1370153499 -5.839158328546894 treat image : temp/1751490149_1994069_1370153457_319acedd44c897dbd62595b59ef82229.jpg resize: (1080, 1632) 1370153457 -5.8422875266478735 treat image : temp/1751490149_1994069_1370153362_11d0dcfd63d2569b700a7a0be668a864.jpg resize: (1080, 1632) 1370153362 -5.8430036760502 treat image : temp/1751490149_1994069_1370153268_689abcffde1259d0b34623ce52436ede.jpg resize: (1080, 1632) 1370153268 -5.840707612122191 treat image : temp/1751490149_1994069_1370152880_f79b3fc24006baad0586fbd4560a88ea.jpg resize: (1080, 1632) 1370152880 -5.837999349722848 treat image : temp/1751490149_1994069_1370152783_8d76f45c3bf0c6c1b805ab687a238621.jpg resize: (1080, 1632) 1370152783 -5.840748388995695 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.011847496032714844 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.011984109878540039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014944314956665039 save missing photos in datou_result : time spend for datou_step_exec : 15.9865562915802 time spend to save output : 0.04344654083251953 total time spend for step 1 : 16.03000283241272 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 3.84system 0:22.32elapsed 81%CPU (0avgtext+0avgdata 138444maxresident)k 296inputs+11680outputs (23major+257759minor)pagefaults 0swaps