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 : 18200 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 : 876>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/18200/ 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.06319260597229 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 Sat Mar 22 07:52: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/1742626347_18200_1346354738_e4b3a74e98efe71454755cfeb63afd06.jpg resize: (1080, 1632) 1346354738 -5.909458191967776 treat image : temp/1742626347_18200_1346354734_5db82f0b0c8f73678e2adf37d91d9c5f.jpg resize: (1080, 1632) 1346354734 -4.523006816137553 treat image : temp/1742626347_18200_1346354731_679ec86ba2268a9f92c166d950f9339f.jpg resize: (1080, 1632) 1346354731 -2.2454936757306005 treat image : temp/1742626347_18200_1346354729_cb113e66cfe16541e98eb0b15df0c4f5.jpg resize: (1080, 1632) 1346354729 -3.67464523848408 treat image : temp/1742626347_18200_1346354725_a4f4bd6a373cc6fcebcabc1d9eb0148a.jpg resize: (1080, 1632) 1346354725 -4.516112154369834 treat image : temp/1742626347_18200_1346354721_1fda8fd026c8a6f68cf1338b26a81f25.jpg resize: (1080, 1632) 1346354721 -6.129985436582236 treat image : temp/1742626347_18200_1346354710_7892932f13cc921948d3d84352013073.jpg resize: (1080, 1632) 1346354710 -6.308259508044807 treat image : temp/1742626347_18200_1346354698_8c92c8f131b733c3e9e500cb1fe5809b.jpg resize: (1080, 1632) 1346354698 -5.569566471709333 treat image : temp/1742626347_18200_1346354680_4c97c6400008349f7577012a28d9b0fa.jpg resize: (1080, 1632) 1346354680 -3.6325443879695407 treat image : temp/1742626347_18200_1346354652_65b95e6b7e6757a0a452e61a7a0cdcec.jpg resize: (1080, 1632) 1346354652 -5.599556547141945 treat image : temp/1742626347_18200_1346354631_2c7cb980182498447fe65702aba75843.jpg resize: (1080, 1632) 1346354631 -5.881183641957633 treat image : temp/1742626347_18200_1346354627_f4404ca6c07bcbf187f9a83a7be81d65.jpg resize: (1080, 1632) 1346354627 -6.042527730191475 treat image : temp/1742626347_18200_1346354523_3d161a81d7529b30c467267754557d17.jpg resize: (1080, 1632) 1346354523 -3.26992408578416 treat image : temp/1742626347_18200_1346354518_700dc97dae410aa1e2c2dc47d8039c3e.jpg resize: (1080, 1632) 1346354518 -3.871654796386175 treat image : temp/1742626347_18200_1346354517_c898f264a3c2a29c35ea578b8d736eef.jpg resize: (1080, 1632) 1346354517 -5.741983058628962 treat image : temp/1742626347_18200_1346354513_220b683789c54f603376b94de19141e4.jpg resize: (1080, 1632) 1346354513 -5.7402161156520695 treat image : temp/1742626347_18200_1346354505_85d3abfd548db5287bb118b5b322eaf7.jpg resize: (1080, 1632) 1346354505 -5.92384959782511 treat image : temp/1742626347_18200_1346354502_11ee6b5c6a87a6024a7a6594c3ca3d23.jpg resize: (1080, 1632) 1346354502 -3.224247399595698 treat image : temp/1742626347_18200_1346354492_48d1d8f6c3f41c71f5340b55ffe4c272.jpg resize: (1080, 1632) 1346354492 -2.1150177941328163 treat image : temp/1742626347_18200_1346354467_a4601a97ddf5286aa759ff3f87bf7522.jpg resize: (1080, 1632) 1346354467 -3.532990655327493 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.014041662216186523 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.0129547119140625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015092611312866211 save missing photos in datou_result : time spend for datou_step_exec : 15.942068815231323 time spend to save output : 0.04753589630126953 total time spend for step 1 : 15.989604711532593 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.16user 4.24system 0:20.09elapsed 91%CPU (0avgtext+0avgdata 137892maxresident)k 0inputs+10168outputs (2major+252562minor)pagefaults 0swaps