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 : 3969231 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3969231/ 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.559091806411743 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 Fri Jul 18 19:57:31 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/1752861448_3969231_1372320618_2cf1a14fb89d10cfadb12ffe2e5d19b9.jpg resize: (1080, 1632) 1372320618 -4.575840574548512 treat image : temp/1752861448_3969231_1372320616_8d074547b6b77168d3606ff5b1b2f3ce.jpg resize: (1080, 1632) 1372320616 -5.658368540582454 treat image : temp/1752861448_3969231_1372320612_1abb1657e8cb6f8098c2ebc33c8e2536.jpg resize: (1080, 1632) 1372320612 -4.684209924177159 treat image : temp/1752861448_3969231_1372320599_cae87786c8b5fc67642b6d2751854b65.jpg resize: (1080, 1632) 1372320599 -5.134828031148888 treat image : temp/1752861448_3969231_1372320596_e1457604b8fa7fc06ba948ce7fd1c4ff.jpg resize: (1080, 1632) 1372320596 -5.24543485042984 treat image : temp/1752861448_3969231_1372320593_9d166ccd8fbb684f077c062022483deb.jpg resize: (1080, 1632) 1372320593 -5.237231343904528 treat image : temp/1752861448_3969231_1372320589_a299b1d9c5d9de26cd7364cf5050c80d.jpg resize: (1080, 1632) 1372320589 -5.398871670331634 treat image : temp/1752861448_3969231_1372320586_3b8c632775256743002d2dc4091b4ac4.jpg resize: (1080, 1632) 1372320586 -5.410293372220518 treat image : temp/1752861448_3969231_1372320582_e58d656d846554daf3ccdcc14920fbd8.jpg resize: (1080, 1632) 1372320582 -5.383681515192696 treat image : temp/1752861448_3969231_1372320566_39f6679c7a8784306c13deb6cc483a4e.jpg resize: (1080, 1632) 1372320566 -4.388066317998281 treat image : temp/1752861448_3969231_1372320563_20f805624a81923840bc64e7167f2f2a.jpg resize: (1080, 1632) 1372320563 -4.390989934312948 treat image : temp/1752861448_3969231_1372320558_1a3b7419187948d149183348162e48d5.jpg resize: (1080, 1632) 1372320558 -4.392648251738574 treat image : temp/1752861448_3969231_1372320555_66e8cf3ded2fc2c4a43020c851d5f3ff.jpg resize: (1080, 1632) 1372320555 -4.791762414170807 treat image : temp/1752861448_3969231_1372320553_c1fd8da840ab61e0505a193a9ebb7e73.jpg resize: (1080, 1632) 1372320553 -5.12690514207814 treat image : temp/1752861448_3969231_1372320550_a2a8a4990103af2e7650427fe29e034b.jpg resize: (1080, 1632) 1372320550 -5.146450811675767 treat image : temp/1752861448_3969231_1372320534_4c2bfb2c137311c9fcfb9f2d3405008f.jpg resize: (1080, 1632) 1372320534 -4.80700951109074 treat image : temp/1752861448_3969231_1372320530_fb055c50c97de1e531a9f3b70eecc714.jpg resize: (1080, 1632) 1372320530 -4.805139530473866 treat image : temp/1752861448_3969231_1372320526_97fd4ca39b8409b337bc935a9e66cd28.jpg resize: (1080, 1632) 1372320526 -4.39030587680776 treat image : temp/1752861448_3969231_1372320522_3b6d326c3110c37c795731a1ea97b86d.jpg resize: (1080, 1632) 1372320522 -4.381687749090534 treat image : temp/1752861448_3969231_1372320519_b424501059c97ce1f69f9f41188a7e8e.jpg resize: (1080, 1632) 1372320519 -4.370100848124376 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.012749433517456055 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.0128936767578125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01490926742553711 save missing photos in datou_result : time spend for datou_step_exec : 17.08725881576538 time spend to save output : 0.04528951644897461 total time spend for step 1 : 17.132548332214355 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 5.22system 0:22.79elapsed 86%CPU (0avgtext+0avgdata 139076maxresident)k 128inputs+9448outputs (19major+259838minor)pagefaults 0swaps