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 : 1054632 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1054632/ 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 : 3.7572975158691406 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 Sun Apr 6 20:42:33 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/1743964949_1054632_1350141464_72bdf32f523e1162f8b2eb6d679f3c58.jpg resize: (1080, 1632) 1350141464 -5.434415453529143 treat image : temp/1743964949_1054632_1350141458_81bc283f1d85853eb326e47492ed392a.jpg resize: (1080, 1632) 1350141458 -6.272434303098459 treat image : temp/1743964949_1054632_1350141453_6139c0f75af39ba2155a8b3d0ddd4e4d.jpg resize: (1080, 1632) 1350141453 -5.033752427797003 treat image : temp/1743964949_1054632_1350141448_96be874f8a371e1a646eeb2c4624b8b3.jpg resize: (1080, 1632) 1350141448 -5.309113725071912 treat image : temp/1743964949_1054632_1350141444_1c32cf11234d6303930d182ad0644a67.jpg resize: (1080, 1632) 1350141444 -5.8606792087346795 treat image : temp/1743964949_1054632_1350141418_a55da3a316809ec83465db1db2383106.jpg resize: (1080, 1632) 1350141418 -2.9199050270028826 treat image : temp/1743964949_1054632_1350141411_ff13a1e98ac551a8a8ea16d3f157c04f.jpg resize: (1080, 1632) 1350141411 -4.501020226577811 treat image : temp/1743964949_1054632_1350141404_2c5056320b665be55a9850e2752cda6e.jpg resize: (1080, 1632) 1350141404 -5.96593317503604 treat image : temp/1743964949_1054632_1350141401_94a319fd02434270ba75907894b27107.jpg resize: (1080, 1632) 1350141401 -6.140167615725985 treat image : temp/1743964949_1054632_1350141398_a1f8884c164aeec38184aaaa4d99aef8.jpg resize: (1080, 1632) 1350141398 -6.42971666406449 treat image : temp/1743964949_1054632_1350141395_ee19dd99e96ed59985201e48ab9df2e4.jpg resize: (1080, 1632) 1350141395 -6.145417367619323 treat image : temp/1743964949_1054632_1350141361_ca37a7b55ad6d855ba4de6deac1a7ec4.jpg resize: (1080, 1632) 1350141361 -5.538206973607864 treat image : temp/1743964949_1054632_1350141357_3cc807ebcb8546e280ce01f308b30198.jpg resize: (1080, 1632) 1350141357 -3.923333619462158 treat image : temp/1743964949_1054632_1350141354_2716cc4a21262e835ff80868861c256e.jpg resize: (1080, 1632) 1350141354 -0.4928531505943608 treat image : temp/1743964949_1054632_1350141340_0a4bc2ff9672220575bca6a155ab3bbb.jpg resize: (1080, 1632) 1350141340 -1.8068743468009416 treat image : temp/1743964949_1054632_1350141320_f57947faae4408bcb8046b26f7fb0b5d.jpg resize: (1080, 1632) 1350141320 -5.483515804552471 treat image : temp/1743964949_1054632_1350141314_499b31fdc268190e7f852c6cc19c1da9.jpg resize: (1080, 1632) 1350141314 -5.5588743882142015 treat image : temp/1743964949_1054632_1350141307_7f275648680d6aab22a99284ed23f41a.jpg resize: (1080, 1632) 1350141307 -3.8419209971327795 treat image : temp/1743964949_1054632_1350141303_7450abd11a8200de0dc3b1ba50d62056.jpg resize: (1080, 1632) 1350141303 -5.422735551703856 treat image : temp/1743964949_1054632_1350141299_b536f83ab1fd4e832108a99b37a9ba39.jpg resize: (1080, 1632) 1350141299 -5.900393409420118 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.014361381530761719 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.011789560317993164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013894796371459961 save missing photos in datou_result : time spend for datou_step_exec : 15.608261585235596 time spend to save output : 0.04466533660888672 total time spend for step 1 : 15.652926921844482 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 3.40system 0:23.07elapsed 77%CPU (0avgtext+0avgdata 141604maxresident)k 136inputs+10416outputs (5major+259941minor)pagefaults 0swaps