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 : 4077937 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 : 3033>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/4077937/ 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.6876473426818848 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 Tue May 13 19:47: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/1747158446_4077937_1357900597_65e959b06d2c8bf19c07c9fa952d3c3d.jpg resize: (1080, 1632) 1357900597 -4.105472405636362 treat image : temp/1747158446_4077937_1357900595_91237c5d106b99712dd7792e409cb9fe.jpg resize: (1080, 1632) 1357900595 -5.708876519012816 treat image : temp/1747158446_4077937_1357900592_63a23d3057ac87e914832536f408e862.jpg resize: (1080, 1632) 1357900592 -2.435892171629554 treat image : temp/1747158446_4077937_1357900360_636d79b7513c0c409f0c93848d6f9327.jpg resize: (1080, 1632) 1357900360 -1.5897033499195088 treat image : temp/1747158446_4077937_1357900332_db3c8f682214b70e0fd3396f56289a8c.jpg resize: (1080, 1632) 1357900332 -2.6466212774437903 treat image : temp/1747158446_4077937_1357900304_315cb2542f92f84cf5a3c20d943ef5e3.jpg resize: (1080, 1632) 1357900304 -3.01770080310362 treat image : temp/1747158446_4077937_1357900251_be49c209054b4ee0781bbcd5742298c3.jpg resize: (1080, 1632) 1357900251 -5.305603421340812 treat image : temp/1747158446_4077937_1357899606_043275697993e0393eb3d6b4b6ea781d.jpg resize: (1080, 1632) 1357899606 -5.277565044887642 treat image : temp/1747158446_4077937_1357899549_7ad2c099acff53666d07ceb66e4bd0ba.jpg resize: (1080, 1632) 1357899549 -3.5389119010338908 treat image : temp/1747158446_4077937_1357899486_27a6f665c2a57f2d6ca1aeba6245e77c.jpg resize: (1080, 1632) 1357899486 -2.9582098866131763 treat image : temp/1747158446_4077937_1357856789_86a1168de1b99fbb6027434e03c6888e.jpg resize: (1080, 1632) 1357856789 -5.590175126279675 treat image : temp/1747158446_4077937_1357856773_32382b8afef1b8c4e6ff6f5dbed6fdb5.jpg resize: (1080, 1632) 1357856773 -1.347000918968104 treat image : temp/1747158446_4077937_1357854516_661340b35558390637b0468245e271f6.jpg resize: (1080, 1632) 1357854516 -5.555428292685165 treat image : temp/1747158446_4077937_1357854490_b0d87410986cd0832d09dc55bdc71bd7.jpg resize: (1080, 1632) 1357854490 -3.5855065646424604 treat image : temp/1747158446_4077937_1357851500_188cd46d5861973f2e32e3fe750fd64e.jpg resize: (1080, 1632) 1357851500 -2.83592838463695 treat image : temp/1747158446_4077937_1357851457_7cdede4fa7d0a8a5c3e588a169af4e0a.jpg resize: (1080, 1632) 1357851457 -4.257706946060481 treat image : temp/1747158446_4077937_1357851429_02c0d3bc783cbc0ea8d62f22745749b5.jpg resize: (1080, 1632) 1357851429 -5.835195453215099 treat image : temp/1747158446_4077937_1357851386_916b18d4894af099fb482b616a40a305.jpg resize: (1080, 1632) 1357851386 -5.697615606815247 treat image : temp/1747158446_4077937_1357850965_674c71a55abef3c303c87e6c83e780e8.jpg resize: (1080, 1632) 1357850965 -1.5682699161389881 treat image : temp/1747158446_4077937_1357850913_0a29a36b1324b30c907b66e8112c1b91.jpg resize: (1080, 1632) 1357850913 -2.935472467258709 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.015626192092895508 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.01583719253540039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01893901824951172 save missing photos in datou_result : time spend for datou_step_exec : 14.7607262134552 time spend to save output : 0.05534791946411133 total time spend for step 1 : 14.816074132919312 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 2.89system 0:19.54elapsed 87%CPU (0avgtext+0avgdata 138848maxresident)k 104inputs+8800outputs (3major+260184minor)pagefaults 0swaps