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 : 2001834 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 : 1075>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2001834/ 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.326057195663452 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 May 21 09:47: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/1747813647_2001834_1359985511_d5f8d7564e2f625a7d1d547fc3c52578.jpg resize: (1080, 1632) 1359985511 -2.6415931359568954 treat image : temp/1747813647_2001834_1359985508_f496eb96165fb97ffb91edef1e7042ed.jpg resize: (1080, 1632) 1359985508 -2.7985027050706637 treat image : temp/1747813647_2001834_1359985503_6b7d6101b1222e9588cad23c1dc200d2.jpg resize: (1080, 1632) 1359985503 -4.607001639226083 treat image : temp/1747813647_2001834_1359985497_d76d1c3bbfdfb44a6af8e58cd2c6a5e3.jpg resize: (1080, 1632) 1359985497 -5.632245968302877 treat image : temp/1747813647_2001834_1359985493_92f6c3ce481cdcf3c069627517d95096.jpg resize: (1080, 1632) 1359985493 -4.370704697443391 treat image : temp/1747813647_2001834_1359985450_d8722c37ad654ca139774501b8f085e7.jpg resize: (1080, 1632) 1359985450 -5.716599240241507 treat image : temp/1747813647_2001834_1359985446_e3da5dd947e764e5365dbf85845e0cd8.jpg resize: (1080, 1632) 1359985446 -5.263877979984083 treat image : temp/1747813647_2001834_1359985442_28c08da698fc9b47a21a9eb048d3c417.jpg resize: (1080, 1632) 1359985442 -3.9533019491524404 treat image : temp/1747813647_2001834_1359985437_73400154b2394e075564b6cd83d2c208.jpg resize: (1080, 1632) 1359985437 -0.5493741567744627 treat image : temp/1747813647_2001834_1359985349_c1a20dafa26bc49c6d9ca945cf84d27e.jpg resize: (1080, 1632) 1359985349 -5.394686385982725 treat image : temp/1747813647_2001834_1359985344_05075e203a9e3fa6e251ab61e258a681.jpg resize: (1080, 1632) 1359985344 -5.408986018307859 treat image : temp/1747813647_2001834_1359985339_02fc074c3ba4bc999cef45954a18c234.jpg resize: (1080, 1632) 1359985339 -4.8606010454962085 treat image : temp/1747813647_2001834_1359985334_872a26593e927c294ff03d7b88abf7ec.jpg resize: (1080, 1632) 1359985334 -4.8518696248419 treat image : temp/1747813647_2001834_1359985311_4da6c34e52cf6f5a5d3aba8e2b883d54.jpg resize: (1080, 1632) 1359985311 -5.8692829968827755 treat image : temp/1747813647_2001834_1359985308_bbe3263a416eeee75eb56b8d3f6fbd24.jpg resize: (1080, 1632) 1359985308 -3.163013566348437 treat image : temp/1747813647_2001834_1359985303_a3313a40ac9c9a325db02a58108ae967.jpg resize: (1080, 1632) 1359985303 -5.802402184362965 treat image : temp/1747813647_2001834_1359985298_753cc9bef034b0d5ed87c5353b7d3596.jpg resize: (1080, 1632) 1359985298 -5.344645125434129 treat image : temp/1747813647_2001834_1359985290_5b3a8b6fd0beec72f201ae6b21d6df8b.jpg resize: (1080, 1632) 1359985290 -5.825683040804662 treat image : temp/1747813647_2001834_1359985230_aa524b2790dacd78d276c1f2962ad60f.jpg resize: (1080, 1632) 1359985230 -1.2887634745267162 treat image : temp/1747813647_2001834_1359985213_8396c7faba1f7eb6e810c1e85f1059df.jpg resize: (1080, 1632) 1359985213 -3.5448236849287706 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.017507076263427734 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.16692042350769043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.17193603515625 save missing photos in datou_result : time spend for datou_step_exec : 15.980311870574951 time spend to save output : 0.36205530166625977 total time spend for step 1 : 16.34236717224121 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.97user 3.75system 0:20.94elapsed 89%CPU (0avgtext+0avgdata 137016maxresident)k 16400inputs+9360outputs (126major+260314minor)pagefaults 0swaps