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 : 3469399 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 : 2676>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3469399/ 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.7099437713623047 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 Mon May 12 18:32: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/1747067547_3469399_1357691086_89de3f73dfc6f710090211ea670ab19f.jpg resize: (1080, 1632) 1357691086 -2.0014875728213415 treat image : temp/1747067547_3469399_1357691058_59b9dc318890f8172b2ca536168503df.jpg resize: (1080, 1632) 1357691058 -3.7330651797989622 treat image : temp/1747067547_3469399_1357691043_bba21f0aa5d7d0c847ecf68cc26bedc0.jpg resize: (1080, 1632) 1357691043 -6.158410689367081 treat image : temp/1747067547_3469399_1357690864_9b28bddf12b63a9124f103a408867453.jpg resize: (1080, 1632) 1357690864 -4.377632278406201 treat image : temp/1747067547_3469399_1357690861_b2842c2413958402e41af61465b8bc02.jpg resize: (1080, 1632) 1357690861 -5.74502439951854 treat image : temp/1747067547_3469399_1357690859_4ec5de9a40a037ecbba933f0a5c1d999.jpg resize: (1080, 1632) 1357690859 -5.1719452946327324 treat image : temp/1747067547_3469399_1357690856_8bd79e8a88f266de1bfb3c2e101010a6.jpg resize: (1080, 1632) 1357690856 -3.056096552825389 treat image : temp/1747067547_3469399_1357690852_44004b69e46e5820e9f3b1edee892f82.jpg resize: (1080, 1632) 1357690852 -5.352969298261139 treat image : temp/1747067547_3469399_1357690843_7e6279679b38f612c1074f96f76a3f31.jpg resize: (1080, 1632) 1357690843 -2.235104263258583 treat image : temp/1747067547_3469399_1357690608_93d8461252480b1d944743d694653898.jpg resize: (1080, 1632) 1357690608 -1.483162923530615 treat image : temp/1747067547_3469399_1357690606_af0853d4c1ba4a0237363b8ccc489ccc.jpg resize: (1080, 1632) 1357690606 -2.2788212611027627 treat image : temp/1747067547_3469399_1357690604_a058ed1ab6078f86de20b02a39edb160.jpg resize: (1080, 1632) 1357690604 -5.61403942236478 treat image : temp/1747067547_3469399_1357690602_634738653552bcf235281e182565cb84.jpg resize: (1080, 1632) 1357690602 -5.869071228114192 treat image : temp/1747067547_3469399_1357690601_938a73bdad61f960b1ca76e15affd252.jpg resize: (1080, 1632) 1357690601 -5.523430519256051 treat image : temp/1747067547_3469399_1357690569_2fcfe8d316bfc02f53fd68c44f3687c5.jpg resize: (1080, 1632) 1357690569 -5.453602537907087 treat image : temp/1747067547_3469399_1357690567_939bdb7bda1a2508e3870a9ffdd889b4.jpg resize: (1080, 1632) 1357690567 -5.433791414524134 treat image : temp/1747067547_3469399_1357690564_7abeb38e12f83bd358ec04d1ff5404fe.jpg resize: (1080, 1632) 1357690564 -5.419801907263638 treat image : temp/1747067547_3469399_1357690561_ce5f49ddc7d322d6fc1a830b53075a85.jpg resize: (1080, 1632) 1357690561 -5.804899298004725 treat image : temp/1747067547_3469399_1357690507_887891038aa77b080d35cabd3e3839ec.jpg resize: (1080, 1632) 1357690507 -3.3310020026656373 treat image : temp/1747067547_3469399_1357690488_5992e4817e672abfa9a4d74f300dac51.jpg resize: (1080, 1632) 1357690488 -2.6875881654697475 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.015804290771484375 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.013791084289550781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01604318618774414 save missing photos in datou_result : time spend for datou_step_exec : 15.598335981369019 time spend to save output : 0.05023765563964844 total time spend for step 1 : 15.648573637008667 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 3.73system 0:19.94elapsed 92%CPU (0avgtext+0avgdata 139648maxresident)k 888inputs+9384outputs (5major+256081minor)pagefaults 0swaps