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 : 1513338 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 : 421>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1513338/ 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.5461740493774414 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 May 22 06:42: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/1747888948_1513338_1360411509_22e537240aa1038fb3c13df67e48bbec.jpg resize: (1080, 1632) 1360411509 -1.4309625334115688 treat image : temp/1747888948_1513338_1360411480_03fbaef1f082eaa99b77bf46c50b64df.jpg resize: (1080, 1632) 1360411480 -1.5575935934539133 treat image : temp/1747888948_1513338_1360411450_72500d1e60d2cf8b26e9a64fb8a88ed2.jpg resize: (1080, 1632) 1360411450 -3.2568494101134142 treat image : temp/1747888948_1513338_1360411426_3032e285c3f3ac28641ef129c60ecb91.jpg resize: (1080, 1632) 1360411426 -5.6917190743023784 treat image : temp/1747888948_1513338_1360411422_b1024869399762cf3c892ecd68ce7432.jpg resize: (1080, 1632) 1360411422 -3.7380020609339364 treat image : temp/1747888948_1513338_1360411140_bb62e0d8e8d5a58fb1af39f189722527.jpg resize: (1080, 1632) 1360411140 -5.198429995936593 treat image : temp/1747888948_1513338_1360411084_da50360f60df20fd5edd4e0371a1cc0b.jpg resize: (1080, 1632) 1360411084 -4.962567756459968 treat image : temp/1747888948_1513338_1360411032_e51fe9b95361f5e663d64b5760e04144.jpg resize: (1080, 1632) 1360411032 -4.0094313825493995 treat image : temp/1747888948_1513338_1360410978_ed858b34454661901d18a4a4b1eb249e.jpg resize: (1080, 1632) 1360410978 -5.619275126096719 treat image : temp/1747888948_1513338_1360410903_5570d758ef034e37ba6669f71e82858a.jpg resize: (1080, 1632) 1360410903 -1.7099575676035792 treat image : temp/1747888948_1513338_1360410145_aea3e66195ae2d7523aad8c5e71bfb65.jpg resize: (1080, 1632) 1360410145 -5.154831194884201 treat image : temp/1747888948_1513338_1360410119_0e764871ed7df1fb5e77831313c54173.jpg resize: (1080, 1632) 1360410119 -5.659153129685917 treat image : temp/1747888948_1513338_1360410094_ac76e4324a0dff0fca54696625eff0e8.jpg resize: (1080, 1632) 1360410094 -5.015255593723487 treat image : temp/1747888948_1513338_1360409900_8518ea9b7d6f8ccbaec5af8396f4f94e.jpg resize: (1080, 1632) 1360409900 -5.188285139649258 treat image : temp/1747888948_1513338_1360409846_a1354b39801f522d330916419320cbad.jpg resize: (1080, 1632) 1360409846 -3.067256676163295 treat image : temp/1747888948_1513338_1360407479_5100b8ff1d28bc3f1ecb0b2affa91d04.jpg resize: (1080, 1632) 1360407479 -4.1986697977988285 treat image : temp/1747888948_1513338_1360407478_3f25320ba6fbcda4c29bb01e3a99c5d2.jpg resize: (1080, 1632) 1360407478 -2.2373472019916374 treat image : temp/1747888948_1513338_1360407476_e54f5c8533e6ddf8ba0aa4184869aa74.jpg resize: (1080, 1632) 1360407476 -2.8897430114458036 treat image : temp/1747888948_1513338_1360407474_9345f969ec488214435346bdfb4fdfdd.jpg resize: (1080, 1632) 1360407474 -5.597712852632061 treat image : temp/1747888948_1513338_1360407471_d06d9db1b846561a1a905a6d697b37e7.jpg resize: (1080, 1632) 1360407471 -5.644435926468332 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.012521743774414062 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.1070098876953125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030142784118652344 save missing photos in datou_result : time spend for datou_step_exec : 15.61050009727478 time spend to save output : 0.1551809310913086 total time spend for step 1 : 15.765681028366089 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 3.34system 0:20.92elapsed 85%CPU (0avgtext+0avgdata 139464maxresident)k 168inputs+9184outputs (8major+255743minor)pagefaults 0swaps