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 : 1126888 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1126888/ 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.379361152648926 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 Sun Apr 6 21:02:32 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/1743966149_1126888_1350139850_451c1846b2db23f62af205f65943d03b.jpg resize: (1080, 1632) 1350139850 -1.300500412765426 treat image : temp/1743966149_1126888_1350139821_cbc1be50573c97bb36033718d42d9fcd.jpg resize: (1080, 1632) 1350139821 -5.506671606076178 treat image : temp/1743966149_1126888_1350139817_61767953d273491daf9fd5950cfa806a.jpg resize: (1080, 1632) 1350139817 -6.095718602910016 treat image : temp/1743966149_1126888_1350139815_7b707f2d81a4d336168e704a6a0de576.jpg resize: (1080, 1632) 1350139815 -5.683118777708882 treat image : temp/1743966149_1126888_1350139813_675c2458023390668856c3154af561fd.jpg resize: (1080, 1632) 1350139813 -6.208088008027986 treat image : temp/1743966149_1126888_1350139811_ad13bb99fc09e2a7dbaee2e827c0f03a.jpg resize: (1080, 1632) 1350139811 -6.129914512124484 treat image : temp/1743966149_1126888_1350139789_cb8b7b1d9ee3578844e2641e71aa526c.jpg resize: (1080, 1632) 1350139789 -1.59936717420539 treat image : temp/1743966149_1126888_1350139785_f52f33d49d93f4781441abe8e19022cf.jpg resize: (1080, 1632) 1350139785 -2.4022138831795417 treat image : temp/1743966149_1126888_1350139780_fc0144230477b93b9a56ea9ef97b09f2.jpg resize: (1080, 1632) 1350139780 -6.035605022590427 treat image : temp/1743966149_1126888_1350139775_647929cd1f8dedc73264701a6a66387c.jpg resize: (1080, 1632) 1350139775 -5.051652016408632 treat image : temp/1743966149_1126888_1350139766_1b976a9cdf2afbbf62b05156c9cb22d0.jpg resize: (1080, 1632) 1350139766 -6.001178100512427 treat image : temp/1743966149_1126888_1350139724_97daa320ca94bf620a65cf1b0fbb8c74.jpg resize: (1080, 1632) 1350139724 -4.9429933574260865 treat image : temp/1743966149_1126888_1350139722_187d381b885f8fa5103c92b154d6399a.jpg resize: (1080, 1632) 1350139722 -5.564249954383803 treat image : temp/1743966149_1126888_1350139720_f83e0bf010ae2009d1f66b6629784483.jpg resize: (1080, 1632) 1350139720 -6.465647087835171 treat image : temp/1743966149_1126888_1350139718_3aedbc13d9e336c54d06f78ed6ba7c6c.jpg resize: (1080, 1632) 1350139718 -4.46014795011754 treat image : temp/1743966149_1126888_1350139688_b36fe3ba409ff53fd1abf3486ba7b5e2.jpg resize: (1080, 1632) 1350139688 -4.622266818684308 treat image : temp/1743966149_1126888_1350139685_7f54e65b867dfbb6455f223047dd5c98.jpg resize: (1080, 1632) 1350139685 -6.341768790834905 treat image : temp/1743966149_1126888_1350139684_0fab4fc612d53eb299699dae8a6fbe74.jpg resize: (1080, 1632) 1350139684 -6.37186516068163 treat image : temp/1743966149_1126888_1350139680_4564a0986dc9ef47a4c0e5ad4aa3da85.jpg resize: (1080, 1632) 1350139680 -6.384474020059406 treat image : temp/1743966149_1126888_1350139676_823dc0fa08622e02f5961212e7cc04af.jpg resize: (1080, 1632) 1350139676 -5.47691816378901 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.012622356414794922 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.015065193176269531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025580883026123047 save missing photos in datou_result : time spend for datou_step_exec : 14.382179975509644 time spend to save output : 0.058740854263305664 total time spend for step 1 : 14.44092082977295 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.00user 1.71system 0:21.55elapsed 77%CPU (0avgtext+0avgdata 140580maxresident)k 0inputs+11128outputs (22major+126527minor)pagefaults 0swaps