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 : 988536 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 : 876>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/988536/ 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 : 1.986058235168457 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 Mar 22 13:02: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/1742644948_988536_1346409335_2535b13f49346b9d4d252352f905acc7.jpg resize: (1080, 1632) 1346409335 -6.126192913937978 treat image : temp/1742644948_988536_1346409309_30f3fd1c38882c31bbd2becfbbc23672.jpg resize: (1080, 1632) 1346409309 -4.332828285175702 treat image : temp/1742644948_988536_1346409278_f67b9daf29057dd24570f6aaef4a16ca.jpg resize: (1080, 1632) 1346409278 -6.240885640727084 treat image : temp/1742644948_988536_1346409230_72ea1d4430c86872a9f535585bee27dc.jpg resize: (1080, 1632) 1346409230 -6.286461758486947 treat image : temp/1742644948_988536_1346409174_10b39332b30004634273589ef7371f67.jpg resize: (1080, 1632) 1346409174 -3.669309408517568 treat image : temp/1742644948_988536_1346409128_78d7b32b1b6550b5f1eca94fd9126d78.jpg resize: (1080, 1632) 1346409128 -2.3919534905949984 treat image : temp/1742644948_988536_1346409020_9504b03e6fe8776b0effdbb55ed107e3.jpg resize: (1080, 1632) 1346409020 -4.425493746041828 treat image : temp/1742644948_988536_1346408994_c26e2fffbfddf7015309a0f2597c91d8.jpg resize: (1080, 1632) 1346408994 -6.959830920659712 treat image : temp/1742644948_988536_1346408969_619d988dea35fb2845e725d03057482d.jpg resize: (1080, 1632) 1346408969 -6.70960354479074 treat image : temp/1742644948_988536_1346408945_e715bde86515d4cb0be28e1b8fc7bd0e.jpg resize: (1080, 1632) 1346408945 -5.207705525681071 treat image : temp/1742644948_988536_1346408921_b00453c4e02be18fdcea0d4726e2178a.jpg resize: (1080, 1632) 1346408921 -5.985807313687034 treat image : temp/1742644948_988536_1346408891_70f17367934195e1710cc42bacbd7ca0.jpg resize: (1080, 1632) 1346408891 -5.60351023838387 treat image : temp/1742644948_988536_1346408590_5b74c49f0d444a7aad0336c0c0d5184a.jpg resize: (1080, 1632) 1346408590 -6.500622793125598 treat image : temp/1742644948_988536_1346408560_fbbe6a58ebc1cf90e1bf8114c5566149.jpg resize: (1080, 1632) 1346408560 -4.842774270892238 treat image : temp/1742644948_988536_1346408533_2fda8b75c7a91a85343b61c9d106f02b.jpg resize: (1080, 1632) 1346408533 -5.7569364758642765 treat image : temp/1742644948_988536_1346408504_c3bcaa76f8ef90463f5c91f16ebfa077.jpg resize: (1080, 1632) 1346408504 -6.686211954325185 treat image : temp/1742644948_988536_1346408484_06b60a234266a22c71db22295ee97ea4.jpg resize: (1080, 1632) 1346408484 -6.433432441540292 treat image : temp/1742644948_988536_1346408458_e8631a09a55b0f25f8d2e920972843b9.jpg resize: (1080, 1632) 1346408458 -6.255687553572193 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.01782393455505371 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.011934518814086914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.016103029251098633 save missing photos in datou_result : time spend for datou_step_exec : 13.130316019058228 time spend to save output : 0.05061769485473633 total time spend for step 1 : 13.180933713912964 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.15user 3.20system 0:17.80elapsed 86%CPU (0avgtext+0avgdata 140780maxresident)k 136inputs+10920outputs (6major+234247minor)pagefaults 0swaps