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 : 368424 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/368424/ 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.683617353439331 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 04:02:31 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/1758074547_368424_1359418966_e0c62533ee83c1e6f8479f2740535075.jpg resize: (1080, 1632) 1359418966 -4.757197881155841 treat image : temp/1758074547_368424_1359418932_8084071f2cfe08659519890f63fd41f5.jpg resize: (1080, 1632) 1359418932 -5.816503598259776 treat image : temp/1758074547_368424_1359418927_85064e9d583e11f3204168115c11c69f.jpg resize: (1080, 1632) 1359418927 -5.718433645132537 treat image : temp/1758074547_368424_1359418923_c8cdd84b06fada162f1dc52b780757b8.jpg resize: (1080, 1632) 1359418923 -5.786306222346261 treat image : temp/1758074547_368424_1359418917_095a2fb0ed58aba96302b82d34d9c64d.jpg resize: (1080, 1632) 1359418917 -5.789936526057264 treat image : temp/1758074547_368424_1359418912_3e8676c166ac4478a95cf1b04bd2a352.jpg resize: (1080, 1632) 1359418912 -5.518745135509995 treat image : temp/1758074547_368424_1359418826_c257cdc17602ef1cfbab5bdcc3078f50.jpg resize: (1080, 1632) 1359418826 -1.3390939537271467 treat image : temp/1758074547_368424_1359418819_1666695006d04f91a4b1d0d99c2c8dc8.jpg resize: (1080, 1632) 1359418819 -3.6475359043661397 treat image : temp/1758074547_368424_1359418814_9f3e73a48e73ec167fafed72b12bcfb0.jpg resize: (1080, 1632) 1359418814 -3.8047691174183185 treat image : temp/1758074547_368424_1359418365_bb5f939e8b8fa1e12a33845d063bf8ff.jpg resize: (1080, 1632) 1359418365 -5.454195802261127 treat image : temp/1758074547_368424_1359418361_37dbc67192f8817c62128bba00de330b.jpg resize: (1080, 1632) 1359418361 -5.857492051466227 treat image : temp/1758074547_368424_1359418356_7ba515a584f97eb36e31e9010679599d.jpg resize: (1080, 1632) 1359418356 -3.0683658421149747 treat image : temp/1758074547_368424_1359418335_82f5e0d6d95266d27906963191edef11.jpg resize: (1080, 1632) 1359418335 -5.63113164425962 treat image : temp/1758074547_368424_1359418321_6c5df570d5aac24cabb47cd86733069d.jpg resize: (1080, 1632) 1359418321 -3.3929085769284084 treat image : temp/1758074547_368424_1359418103_79df60a113a90a8e90743ca9227cda9e.jpg resize: (1080, 1632) 1359418103 -5.796127955583912 treat image : temp/1758074547_368424_1359418051_fe083bb805fd2385df7693503fa0adf3.jpg resize: (1080, 1632) 1359418051 -4.478569649312126 treat image : temp/1758074547_368424_1359417999_349668d19eeb06421931b9ebed1f6665.jpg resize: (1080, 1632) 1359417999 -6.022296145469235 treat image : temp/1758074547_368424_1359417963_fc8bf7a0b703b1b326acc69bfd3557d2.jpg resize: (1080, 1632) 1359417963 -5.824751845920121 treat image : temp/1758074547_368424_1359417932_13a2be0d701219fe1764fc1823eb558f.jpg resize: (1080, 1632) 1359417932 -4.937464351238624 treat image : temp/1758074547_368424_1359417698_03276670df2c54d9840846b768fe4d37.jpg resize: (1080, 1632) 1359417698 -2.950080521065127 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.01369166374206543 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.34775424003601074 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.15403246879577637 save missing photos in datou_result : time spend for datou_step_exec : 15.656717300415039 time spend to save output : 0.5202434062957764 total time spend for step 1 : 16.176960706710815 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 3.66system 0:21.93elapsed 82%CPU (0avgtext+0avgdata 136632maxresident)k 3992inputs+9928outputs (41major+257371minor)pagefaults 0swaps