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 : 924746 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 : 8125>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/924746/ 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.269902467727661 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 Jul 12 00:57:28 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/1752274645_924746_1371755293_dbe424944f5c714d4541059fa4764eb8.jpg resize: (1080, 1632) 1371755293 -5.8681120617724485 treat image : temp/1752274645_924746_1371755286_cbf7090b1a8b9d4fdc1c104a245ead44.jpg resize: (1080, 1632) 1371755286 -5.725990018916372 treat image : temp/1752274645_924746_1371755284_af0e3cf8f2a262441867320a19740349.jpg resize: (1080, 1632) 1371755284 -5.710945091523492 treat image : temp/1752274645_924746_1371755281_3fb51f45850c443e968acb6d5fabeec8.jpg resize: (1080, 1632) 1371755281 -4.693583091625595 treat image : temp/1752274645_924746_1371755278_70d1c00c578be08c5520e22f90b16931.jpg resize: (1080, 1632) 1371755278 -5.0144121499534124 treat image : temp/1752274645_924746_1371755275_2d00870295ed3fccaac1d38e188d418b.jpg resize: (1080, 1632) 1371755275 -5.00355537285754 treat image : temp/1752274645_924746_1371755208_60568a7a8a64a3e184fe7106a65d1817.jpg resize: (1080, 1632) 1371755208 -5.229612513411059 treat image : temp/1752274645_924746_1371755204_3ac5d33a54867dbe42e802b0f3bf9f51.jpg resize: (1080, 1632) 1371755204 -4.767404462601581 treat image : temp/1752274645_924746_1371755201_641eefe46b41f24a626441ba010ae945.jpg resize: (1080, 1632) 1371755201 -5.088160481750064 treat image : temp/1752274645_924746_1371755196_a5b112ef63a11206936cb257ef9440cc.jpg resize: (1080, 1632) 1371755196 -4.828076956804817 treat image : temp/1752274645_924746_1371755189_6d2a4507dbbf97b05af9878f3b74e499.jpg resize: (1080, 1632) 1371755189 -5.015597578459561 treat image : temp/1752274645_924746_1371755185_d494f0da224c047c7f6c11c8edd05c7a.jpg resize: (1080, 1632) 1371755185 -5.175240618614216 treat image : temp/1752274645_924746_1371755146_e8c6c7c660978287f318d67f7d64de90.jpg resize: (1080, 1632) 1371755146 -5.4502835123767115 treat image : temp/1752274645_924746_1371755140_ae13d0e337684904d5199a8a00bb0fb1.jpg resize: (1080, 1632) 1371755140 -5.45849510765697 treat image : temp/1752274645_924746_1371755135_f04d83d42180d7fbb6953d552cd702b3.jpg resize: (1080, 1632) 1371755135 -4.443131631136992 treat image : temp/1752274645_924746_1371755119_23d4601876f74f956f822fd8350ca233.jpg resize: (1080, 1632) 1371755119 -4.8054636813116325 treat image : temp/1752274645_924746_1371755114_799e241aa82b79fb89e4eed1c365d8c5.jpg resize: (1080, 1632) 1371755114 -4.821652847488271 treat image : temp/1752274645_924746_1371755106_7e166f9a4ee25f1624b61c78835577ae.jpg resize: (1080, 1632) 1371755106 -4.97725802862339 treat image : temp/1752274645_924746_1371755057_21b5dfcb2ec44b6e04d026e1fe0dbeec.jpg resize: (1080, 1632) 1371755057 -1.9199544858664772 treat image : temp/1752274645_924746_1371755051_64e653afc15e0ea6e7026ab83d1d4c23.jpg resize: (1080, 1632) 1371755051 -2.6700833142955345 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.017681121826171875 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 : 13.056994199752808 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020995378494262695 save missing photos in datou_result : time spend for datou_step_exec : 16.778807640075684 time spend to save output : 13.100252866744995 total time spend for step 1 : 29.87906050682068 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 4.47system 0:33.53elapsed 57%CPU (0avgtext+0avgdata 139468maxresident)k 8inputs+9744outputs (0major+253105minor)pagefaults 0swaps