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 : 1038253 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 : 3755>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1038253/ 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.15031099319458 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 Feb 5 21:57:29 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/1738789047_1038253_1335029130_56e0df7fbc58c45b3052efc4e7babdd5.jpg resize: (1080, 1632) 1335029130 -6.0860163415715025 treat image : temp/1738789047_1038253_1335029127_5f6bce42a90ab81f7085313e8215f742.jpg resize: (1080, 1632) 1335029127 -2.3352978105436626 treat image : temp/1738789047_1038253_1335029124_398c563c33a69bf9970337d065b4cac9.jpg resize: (1080, 1632) 1335029124 -4.279609543778376 treat image : temp/1738789047_1038253_1335029102_d32ae9cfa26d647d2fc1a5360a998270.jpg resize: (1080, 1632) 1335029102 -5.111736208537782 treat image : temp/1738789047_1038253_1335029099_928bad462aba0614208fb816c133c7f4.jpg resize: (1080, 1632) 1335029099 -5.182784035179463 treat image : temp/1738789047_1038253_1335029096_4011f148e02cf7f7c9a39fd52e3331f9.jpg resize: (1080, 1632) 1335029096 -5.912240506572311 treat image : temp/1738789047_1038253_1335029094_381dcdd42f721097a9f317bfb06c5075.jpg resize: (1080, 1632) 1335029094 -6.26383494686759 treat image : temp/1738789047_1038253_1335028993_9bac8c529245cd980c6266dc26748a50.jpg resize: (1080, 1632) 1335028993 -5.991291886106577 treat image : temp/1738789047_1038253_1335028990_f1a5df47dea9df6c9ba2292b800dc894.jpg resize: (1080, 1632) 1335028990 -6.56380826263227 treat image : temp/1738789047_1038253_1335028986_3cecf46368286c8ba0607bc2a6674e41.jpg resize: (1080, 1632) 1335028986 -6.283362829518461 treat image : temp/1738789047_1038253_1335028983_3b8b527a4e45c8b2f9c67449912063dd.jpg resize: (1080, 1632) 1335028983 -4.876139344403113 treat image : temp/1738789047_1038253_1335028958_f8710fd68f48c99ed5b9fc5737d64cbe.jpg resize: (1080, 1632) 1335028958 -4.880914826424558 treat image : temp/1738789047_1038253_1335028957_2ca023c7ed99137496100693f0a8a9b3.jpg resize: (1080, 1632) 1335028957 -5.743110167739941 treat image : temp/1738789047_1038253_1335028927_b2d014bc8a35d0100c07ec0f3ed7d222.jpg resize: (1080, 1632) 1335028927 -6.618219646864182 treat image : temp/1738789047_1038253_1335028924_5c50285bd583feea5d2cd73523dd56d8.jpg resize: (1080, 1632) 1335028924 -2.656770178526983 treat image : temp/1738789047_1038253_1335028919_769845e6316713c95b93605f01003718.jpg resize: (1080, 1632) 1335028919 -2.6998020096755115 treat image : temp/1738789047_1038253_1335028917_7b5483d97ee5d1b87a54c64162f64f3f.jpg resize: (1080, 1632) 1335028917 -4.687683868010831 treat image : temp/1738789047_1038253_1335028870_3808482327243590dc320a730d880fc1.jpg resize: (1080, 1632) 1335028870 -5.386954260999869 treat image : temp/1738789047_1038253_1335028866_01d37b885f618ce51cc87e6afbd895de.jpg resize: (1080, 1632) 1335028866 -5.984736180704597 treat image : temp/1738789047_1038253_1335028865_2ceae8eb13b76c6fca4859382dc4d68d.jpg resize: (1080, 1632) 1335028865 -6.280690284009289 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.013558626174926758 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.018780231475830078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021874427795410156 save missing photos in datou_result : time spend for datou_step_exec : 13.559465646743774 time spend to save output : 0.06057381629943848 total time spend for step 1 : 13.620039463043213 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 1.74system 0:18.24elapsed 88%CPU (0avgtext+0avgdata 140140maxresident)k 112inputs+10856outputs (14major+119043minor)pagefaults 0swaps