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 : 42329 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 : 2061>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/42329/ 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.2569563388824463 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 Fri Feb 7 15:52: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/1738939948_42329_1335540444_a328be2ab956eaabbeb14bc728c95bd9.jpg resize: (1080, 1632) 1335540444 -6.24597048849154 treat image : temp/1738939948_42329_1335540442_924eebebd102c06d7496a7bdf3a68d23.jpg resize: (1080, 1632) 1335540442 -6.305268122896982 treat image : temp/1738939948_42329_1335540439_88e5932f00313f3eb843cea79f2a7244.jpg resize: (1080, 1632) 1335540439 -6.4800746851306394 treat image : temp/1738939948_42329_1335540435_21d81dc93dbf6d9eba775edd9d446dd8.jpg resize: (1080, 1632) 1335540435 -6.47850645309334 treat image : temp/1738939948_42329_1335540432_682e88f8730887660f6b326ff0d66af5.jpg resize: (1080, 1632) 1335540432 -6.373134334871378 treat image : temp/1738939948_42329_1335540285_5537439a658ddc2cb9a4fa1341f565b6.jpg resize: (1080, 1632) 1335540285 -1.9522646497658707 treat image : temp/1738939948_42329_1335540282_42e816a21061096a93834f59f565d6d1.jpg resize: (1080, 1632) 1335540282 -3.9569088259167406 treat image : temp/1738939948_42329_1335540183_42132efea46a0900eff86cc6be6528b0.jpg resize: (1080, 1632) 1335540183 -5.490640736607774 treat image : temp/1738939948_42329_1335540180_b6179cd55851a95521962f982398d2fd.jpg resize: (1080, 1632) 1335540180 -4.838149872126503 treat image : temp/1738939948_42329_1335540177_df1fa22bcab70fefe34f7aff5bd28aa9.jpg resize: (1080, 1632) 1335540177 -5.116573394353641 treat image : temp/1738939948_42329_1335540035_4bb99ff8b0e483df9dcebb4de29e6c88.jpg resize: (1080, 1632) 1335540035 -3.0492499578741437 treat image : temp/1738939948_42329_1335540014_045acf807c74870cd2f0c65f0df4931f.jpg resize: (1080, 1632) 1335540014 -6.423920281458655 treat image : temp/1738939948_42329_1335539935_487ff29a5425aaa3c9074e261d6d29f3.jpg resize: (1080, 1632) 1335539935 -6.2687831964982905 treat image : temp/1738939948_42329_1335539912_812762d48e4bc36515626b971a681ca0.jpg resize: (1080, 1632) 1335539912 -6.669526759092069 treat image : temp/1738939948_42329_1335539903_2673d3477ab9d2906fcdb57884cffe65.jpg resize: (1080, 1632) 1335539903 -5.709058195853208 treat image : temp/1738939948_42329_1335539885_1191a69e922c7846216bb7ada4578be5.jpg resize: (1080, 1632) 1335539885 -5.75108261144922 treat image : temp/1738939948_42329_1335539775_feb645e7c695aca980e8b2066e5ba124.jpg resize: (1080, 1632) 1335539775 -5.81946729364501 treat image : temp/1738939948_42329_1335539770_344483076c42479c005dc6bdef927cff.jpg resize: (1080, 1632) 1335539770 -4.282708236951125 treat image : temp/1738939948_42329_1335539767_3dd7a6d603654104e7960755a6ed26bc.jpg resize: (1080, 1632) 1335539767 -1.7254350389235893 treat image : temp/1738939948_42329_1335539724_c7adef6190a597176ecfcdaadc66f95d.jpg resize: (1080, 1632) 1335539724 -6.177842678340606 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.014746904373168945 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.012562990188598633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01715826988220215 save missing photos in datou_result : time spend for datou_step_exec : 16.041919231414795 time spend to save output : 0.05029749870300293 total time spend for step 1 : 16.092216730117798 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 4.60system 0:21.60elapsed 89%CPU (0avgtext+0avgdata 141232maxresident)k 176inputs+11264outputs (24major+260773minor)pagefaults 0swaps