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 : 526815 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 : 2465>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/526815/ 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.3192458152770996 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 Feb 7 18:12: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/1738948348_526815_1335567764_c0861bd2a62af67968122af4b6996f78.jpg resize: (1080, 1632) 1335567764 -5.019631405933366 treat image : temp/1738948348_526815_1335567761_9fd3ca544498aab9f9e766e8b81da063.jpg resize: (1080, 1632) 1335567761 -4.528986560263683 treat image : temp/1738948348_526815_1335567758_6f911491604da654a78e8f70c010dcae.jpg resize: (1080, 1632) 1335567758 -0.44500743687843464 treat image : temp/1738948348_526815_1335567756_28ce27427676d1784c93adf05c33bc0d.jpg resize: (1080, 1632) 1335567756 -1.4496737460833062 treat image : temp/1738948348_526815_1335567738_fa099f17c320ec7932256314f3310be0.jpg resize: (1080, 1632) 1335567738 -4.7095380521578765 treat image : temp/1738948348_526815_1335567736_8df520ea3d05d6a38155cd08125ab07d.jpg resize: (1080, 1632) 1335567736 -5.841852339600248 treat image : temp/1738948348_526815_1335567733_73cf438782f4081207c7cb03e1564ff7.jpg resize: (1080, 1632) 1335567733 -5.0317231715531365 treat image : temp/1738948348_526815_1335567730_6df9964116240a92293b744d477d496c.jpg resize: (1080, 1632) 1335567730 -5.091050079946778 treat image : temp/1738948348_526815_1335567728_b80ab97f1474723524cc62bc29457a8b.jpg resize: (1080, 1632) 1335567728 -3.7516868160507424 treat image : temp/1738948348_526815_1335567725_28e3b181e3e7216abdfe002411e7ce6e.jpg resize: (1080, 1632) 1335567725 -5.873443823921713 treat image : temp/1738948348_526815_1335567678_a47dd4df3677ef05e7151b2df19b1b90.jpg resize: (1080, 1632) 1335567678 -2.0490397194206227 treat image : temp/1738948348_526815_1335567674_8f7e5f0dce8d4d551d38adaffa77edc7.jpg resize: (1080, 1632) 1335567674 -5.939329959075732 treat image : temp/1738948348_526815_1335567670_fdb10777dd195c1d5261007bad3bb3b3.jpg resize: (1080, 1632) 1335567670 -6.341979743463415 treat image : temp/1738948348_526815_1335567667_d43e7eb0072090377506f81e91389ee2.jpg resize: (1080, 1632) 1335567667 -5.17952065104737 treat image : temp/1738948348_526815_1335567663_c157b99fa8b10a998425bda022bb7abd.jpg resize: (1080, 1632) 1335567663 -5.332467879754725 treat image : temp/1738948348_526815_1335567659_3118d7d1704579f0d5d24efc6c46991d.jpg resize: (1080, 1632) 1335567659 -5.177999412057089 treat image : temp/1738948348_526815_1335567588_4a9d9c5b421549adbdec7f72eb91c654.jpg resize: (1080, 1632) 1335567588 -5.309284600853893 treat image : temp/1738948348_526815_1335567580_9340afa2ab2b69ec55a54718f2b61027.jpg resize: (1080, 1632) 1335567580 -4.932056976181782 treat image : temp/1738948348_526815_1335567492_156bb065e07a8a2bbf15fe0c04c5b0f2.jpg resize: (1080, 1632) 1335567492 -2.6423932655640052 treat image : temp/1738948348_526815_1335566678_93b88e5914794d5078fbe31e713a0a0f.jpg resize: (1080, 1632) 1335566678 -6.352348283136419 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.015204906463623047 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.015358924865722656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015227317810058594 save missing photos in datou_result : time spend for datou_step_exec : 16.629589080810547 time spend to save output : 0.05025529861450195 total time spend for step 1 : 16.67984437942505 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 4.25system 0:23.25elapsed 82%CPU (0avgtext+0avgdata 140472maxresident)k 104inputs+9728outputs (21major+264072minor)pagefaults 0swaps