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 : 511637 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 : 2234>100 please execute split_portfolio.py -i 25626683 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3429650'] with mtr_portfolio_ids : ['25626683'] and first list_photo_ids : [] new path : /proc/511637/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0257272720336914 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 Mon Aug 4 20:02: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/1754330548_511637_1375154436_dfc557df4c15e78f880fd185ce8510c1.jpg resize: (1080, 1632) 1375154436 -4.956979574969265 treat image : temp/1754330548_511637_1375154410_e7febb8e9542a4371366023ce7a9aa5f.jpg resize: (1080, 1632) 1375154410 -4.804457645156845 treat image : temp/1754330548_511637_1375154377_5616b3e1ee0cd089c6c7ae11642f686c.jpg resize: (1080, 1632) 1375154377 -4.375444255988615 treat image : temp/1754330548_511637_1375154350_059263f6755c910ba4134325b7653b15.jpg resize: (1080, 1632) 1375154350 -4.912900682740974 treat image : temp/1754330548_511637_1375154324_9caff88a1aeec24e0b6eb1f6eed04d32.jpg resize: (1080, 1632) 1375154324 -3.7381609818146564 treat image : temp/1754330548_511637_1375154281_0f1ca2d2c02836924d77ac0aab81b055.jpg resize: (1080, 1632) 1375154281 -4.75338953117165 treat image : temp/1754330548_511637_1375154150_f928828dc8dd4baf7bfcea7362127280.jpg resize: (1080, 1632) 1375154150 -4.90100185646486 treat image : temp/1754330548_511637_1375154090_46de72be04705ff6dfdf70017b5e123a.jpg resize: (1080, 1632) 1375154090 -2.1705310505040174 treat image : temp/1754330548_511637_1375154067_c932815628fa05a42261780944b8f483.jpg resize: (1080, 1632) 1375154067 -4.682365163797938 treat image : temp/1754330548_511637_1375154040_0d48ef02fdbc51a0c20375b0c16eecb9.jpg resize: (1080, 1632) 1375154040 -4.9770791642176375 treat image : temp/1754330548_511637_1375153996_b7c44e88492d738aa0dc44791709e813.jpg resize: (1080, 1632) 1375153996 -4.879688494394017 treat image : temp/1754330548_511637_1375153970_550029a51912521004845853c0d691b7.jpg resize: (1080, 1632) 1375153970 -0.18928940475294737 treat image : temp/1754330548_511637_1375153703_2f068f2def74b1ab3f3c89cebd537e17.jpg resize: (1080, 1632) 1375153703 -0.8853462023049848 treat image : temp/1754330548_511637_1375153676_2301158cceeeb9b2a78e92a3f9331320.jpg resize: (1080, 1632) 1375153676 -2.599924521838917 treat image : temp/1754330548_511637_1375153628_a6c4e5318e92f8fa52186a8651aa0ccb.jpg resize: (1080, 1632) 1375153628 -4.262229852254526 treat image : temp/1754330548_511637_1375153577_bd89a00d14f7da09066fde4fc19134ad.jpg resize: (1080, 1632) 1375153577 -4.131741316329717 treat image : temp/1754330548_511637_1375153523_9773b7f01d207c350b4cefd6bc62a929.jpg resize: (1080, 1632) 1375153523 -4.956979574969265 treat image : temp/1754330548_511637_1375153449_867a4cfb7a4e6aafbce8b6c754ffb54f.jpg resize: (1080, 1632) 1375153449 -4.804457645156845 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 : 18 time used for this insertion : 0.017595291137695312 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.015936851501464844 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.022067546844482422 save missing photos in datou_result : time spend for datou_step_exec : 13.948560953140259 time spend to save output : 0.06091618537902832 total time spend for step 1 : 14.009477138519287 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.74user 3.98system 0:18.63elapsed 89%CPU (0avgtext+0avgdata 137980maxresident)k 0inputs+7296outputs (0major+236638minor)pagefaults 0swaps