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 : 1880338 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 : 318>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1880338/ 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.1996428966522217 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 Thu Feb 6 02:37: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/1738805848_1880338_1335089099_7bd8e79cf16bc6ee8d2baa71cbc29701.jpg resize: (1080, 1632) 1335089099 -5.061617746220592 treat image : temp/1738805848_1880338_1335089098_744f540ea28fd0b96177f8a648b14fc5.jpg resize: (1080, 1632) 1335089098 -5.705630730391171 treat image : temp/1738805848_1880338_1335089097_61932544630794236dd066526d95495c.jpg resize: (1080, 1632) 1335089097 -1.8013172492285083 treat image : temp/1738805848_1880338_1335089095_7accb119bff5431c5c1207db65ffad81.jpg resize: (1080, 1632) 1335089095 -1.9108295365531218 treat image : temp/1738805848_1880338_1335089093_9ccb887cbf8672c5b0f9a762d9512142.jpg resize: (1080, 1632) 1335089093 -2.918719799912306 treat image : temp/1738805848_1880338_1335089091_4e4b06862368cb3e5df85e68421111e8.jpg resize: (1080, 1632) 1335089091 -5.038441091184941 treat image : temp/1738805848_1880338_1335089083_d89418a7106df9bf5247ab9cf999c7eb.jpg resize: (1080, 1632) 1335089083 -5.595134716102119 treat image : temp/1738805848_1880338_1335089082_7f9487e2ee1d63e05d32c6c980870f73.jpg resize: (1080, 1632) 1335089082 -6.3014338265384024 treat image : temp/1738805848_1880338_1335089080_6ac3354440191c396675e24f0a9e636a.jpg resize: (1080, 1632) 1335089080 -6.148805444612617 treat image : temp/1738805848_1880338_1335089079_407d3bd1bee0723463ddf0ddae5d471f.jpg resize: (1080, 1632) 1335089079 -6.550886751325826 treat image : temp/1738805848_1880338_1335089078_2c8544b78cfb820b3d763230a5b061eb.jpg resize: (1080, 1632) 1335089078 -4.285982902276722 treat image : temp/1738805848_1880338_1335089077_17261c3e7a3a5718d1340d234eaa55ce.jpg resize: (1080, 1632) 1335089077 -5.940743264176203 treat image : temp/1738805848_1880338_1335089009_32b875bdedc330f7ddedf1007d6b5b92.jpg resize: (1080, 1632) 1335089009 -6.386168588670764 treat image : temp/1738805848_1880338_1335089006_8f3c362fc3737a2660bfd9ee3f0b2ed0.jpg resize: (1080, 1632) 1335089006 -5.866730020431804 treat image : temp/1738805848_1880338_1335089004_14aa91950c13ce9cf890092b0a9015e3.jpg resize: (1080, 1632) 1335089004 -6.026633431223146 treat image : temp/1738805848_1880338_1335089003_e0dfb5c4721bae9b3d1bc6de9fc71b35.jpg resize: (1080, 1632) 1335089003 -4.3338519942730525 treat image : temp/1738805848_1880338_1335089001_34e99dff7f6ec3ae4a37b54d402103b0.jpg resize: (1080, 1632) 1335089001 -2.7257708835970296 treat image : temp/1738805848_1880338_1335089000_e440b95f6405eec1de2c4dda83e17118.jpg resize: (1080, 1632) 1335089000 -2.7719222575668776 treat image : temp/1738805848_1880338_1335088999_3d1b9c8ae2639accb14b3b7eaea00033.jpg resize: (1080, 1632) 1335088999 -1.7855278598499706 treat image : temp/1738805848_1880338_1335088998_65f80af4981b4abafd355e171af98786.jpg resize: (1080, 1632) 1335088998 -4.851940011705554 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.013022422790527344 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.012925386428833008 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014892578125 save missing photos in datou_result : time spend for datou_step_exec : 12.736317157745361 time spend to save output : 0.04690361022949219 total time spend for step 1 : 12.783220767974854 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.62user 1.79system 0:18.62elapsed 82%CPU (0avgtext+0avgdata 142180maxresident)k 32inputs+9856outputs (1major+119546minor)pagefaults 0swaps