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 : 3337426 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 : 1848>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/3337426/ 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.9023241996765137 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 10:32: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/1738747949_3337426_1334882148_cd62ddf35bf361b080e1fec2b2bd466c.jpg resize: (1080, 1632) 1334882148 -2.5065097537116388 treat image : temp/1738747949_3337426_1334882142_b07a1bb5d831517f959ca1822eda622e.jpg resize: (1080, 1632) 1334882142 -3.3589978342351614 treat image : temp/1738747949_3337426_1334882141_bead6a0998a2b9d2cd4e2fa510b1781e.jpg resize: (1080, 1632) 1334882141 -1.8365231272082312 treat image : temp/1738747949_3337426_1334882105_574becad68d8da2a0e785670b0cc4243.jpg resize: (1080, 1632) 1334882105 -5.399361060995676 treat image : temp/1738747949_3337426_1334882103_bfe5041b3e390d5be168e40e362ad87d.jpg resize: (1080, 1632) 1334882103 -4.744348742392796 treat image : temp/1738747949_3337426_1334882099_95812b581b6ad360bb08679551820e8f.jpg resize: (1080, 1632) 1334882099 -6.336463779362204 treat image : temp/1738747949_3337426_1334882097_1a970b5550008027c54df2fd689ecb2b.jpg resize: (1080, 1632) 1334882097 -6.102858081724764 treat image : temp/1738747949_3337426_1334882095_de32775d2398b9809ba116ad8e50d78b.jpg resize: (1080, 1632) 1334882095 -6.180057970843121 treat image : temp/1738747949_3337426_1334882093_14e752bd4af8a932417b89b5eb2d7b49.jpg resize: (1080, 1632) 1334882093 -6.267909996668516 treat image : temp/1738747949_3337426_1334880883_5eb61aff97e3a18532084aa13b077a51.jpg resize: (1080, 1632) 1334880883 -6.301136537035487 treat image : temp/1738747949_3337426_1334880881_11b34682c6c8e07b9b6664c5336d7002.jpg resize: (1080, 1632) 1334880881 -5.27973996385633 treat image : temp/1738747949_3337426_1334880879_6098efbebd0be4a2a22208db6a9df9be.jpg resize: (1080, 1632) 1334880879 -6.162713998781484 treat image : temp/1738747949_3337426_1334880876_7e28983b3f345e218e61205ee6447142.jpg resize: (1080, 1632) 1334880876 -6.411200003305629 treat image : temp/1738747949_3337426_1334880873_2e1b14a4bff1acd65b5a285ef25ec673.jpg resize: (1080, 1632) 1334880873 -4.464752862091359 treat image : temp/1738747949_3337426_1334880871_c85f65653f511828c904c90ed3732844.jpg resize: (1080, 1632) 1334880871 -6.408739409702791 treat image : temp/1738747949_3337426_1334880837_4697958c94d12f3c67e49f7621d484c5.jpg resize: (1080, 1632) 1334880837 -1.4346514274842892 treat image : temp/1738747949_3337426_1334880836_bd43fc614d01969d58396090a9f849c6.jpg resize: (1080, 1632) 1334880836 -2.3727496245494923 treat image : temp/1738747949_3337426_1334880834_8e524f643c81fe526bb02a8605211089.jpg resize: (1080, 1632) 1334880834 -2.0638962588881866 treat image : temp/1738747949_3337426_1334880832_cf1e5ea30215577ce3b03ffe05f4a822.jpg resize: (1080, 1632) 1334880832 -5.146232645150887 treat image : temp/1738747949_3337426_1334880795_a18f6dc04ce38bf3dc9c2fc6ada348eb.jpg resize: (1080, 1632) 1334880795 -5.784537673247441 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.015080928802490234 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.01221323013305664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013828039169311523 save missing photos in datou_result : time spend for datou_step_exec : 13.380938053131104 time spend to save output : 0.045565128326416016 total time spend for step 1 : 13.42650318145752 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 1.67system 0:20.44elapsed 78%CPU (0avgtext+0avgdata 141384maxresident)k 128inputs+10520outputs (8major+106881minor)pagefaults 0swaps