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 : 2399776 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 : 6443>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/2399776/ 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.3093502521514893 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 Sat Aug 2 01:52: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/1754092349_2399776_1374847685_8064b238328ef62bb37fa91c9f09adcb.jpg resize: (1080, 1632) 1374847685 -5.319838528014661 treat image : temp/1754092349_2399776_1374847683_38c27b4d620f5343dbc520b715b2c6b5.jpg resize: (1080, 1632) 1374847683 -5.441902680710292 treat image : temp/1754092349_2399776_1374847681_f496a123c3019febfe425a137b8fbda4.jpg resize: (1080, 1632) 1374847681 -5.403995764454485 treat image : temp/1754092349_2399776_1374847670_9b349a814e7a3a07fb93723feee7e4d8.jpg resize: (1080, 1632) 1374847670 -5.714174318423118 treat image : temp/1754092349_2399776_1374847668_df9cfc535f7b149448be6a7a4a73f5e9.jpg resize: (1080, 1632) 1374847668 -5.855097799741223 treat image : temp/1754092349_2399776_1374847656_5b7e24c2055a9220c6d0a19f8a3d4d6a.jpg resize: (1080, 1632) 1374847656 -4.720321974901032 treat image : temp/1754092349_2399776_1374847544_54428c2dd73000599a2eea742112c5a5.jpg resize: (1080, 1632) 1374847544 -5.318034358875365 treat image : temp/1754092349_2399776_1374847522_73476e232e8612dbbd9b399f8283115e.jpg resize: (1080, 1632) 1374847522 -2.047794723300327 treat image : temp/1754092349_2399776_1374847502_409efe55d0a8c8b5c1f52880f84faa70.jpg resize: (1080, 1632) 1374847502 -1.6257356711978799 treat image : temp/1754092349_2399776_1374847480_654cc8da4a16459c5051bc2db7fb0858.jpg resize: (1080, 1632) 1374847480 -2.5351199731132947 treat image : temp/1754092349_2399776_1374847456_c251adba7a94047dcb006a540d2ca409.jpg resize: (1080, 1632) 1374847456 -1.3597767241304723 treat image : temp/1754092349_2399776_1374847434_806b71e58ceca2897566d555419a517e.jpg resize: (1080, 1632) 1374847434 -5.118931226788893 treat image : temp/1754092349_2399776_1374846997_83c3f63fab83cc2b2aca0dd9bf32c6bf.jpg resize: (1080, 1632) 1374846997 -5.695579595914015 treat image : temp/1754092349_2399776_1374846993_9a7238a850a2a97abc7801283d410f91.jpg resize: (1080, 1632) 1374846993 -3.7658734483720946 treat image : temp/1754092349_2399776_1374846991_90dd1812b7c24b580401bbf8d43fef6b.jpg resize: (1080, 1632) 1374846991 -5.596951910301139 treat image : temp/1754092349_2399776_1374846988_c8e029a43ec4ef5a56d14d91ecf77959.jpg resize: (1080, 1632) 1374846988 -4.027219756652444 treat image : temp/1754092349_2399776_1374846984_dbdedc1af4517d1555c5b98ecef6a508.jpg resize: (1080, 1632) 1374846984 -5.835683809641543 treat image : temp/1754092349_2399776_1374846981_703cc846a54e5b9a667d27da90f348c9.jpg resize: (1080, 1632) 1374846981 -5.724132738229406 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.011662483215332031 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.1689305305480957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.07192301750183105 save missing photos in datou_result : time spend for datou_step_exec : 15.267138242721558 time spend to save output : 0.2571394443511963 total time spend for step 1 : 15.524277687072754 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.83user 4.74system 0:22.01elapsed 79%CPU (0avgtext+0avgdata 137848maxresident)k 120inputs+8816outputs (9major+194018minor)pagefaults 0swaps