python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 12 -a ' -a 533 -l 200 --rand=1 ' -s datou_current_533 -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 : 4048227 load datou : 533 # 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) All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! DataTypes for each output/input checked ! 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_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo 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 : 209>200 please execute split_portfolio.py -i 31065240 -l 200 size over we load limit photo not treated list_input_json: {} Date 2026-10-01 09:10:30.083336 Current got : datou_id : 533, datou_cur_ids : ['4381732'] with mtr_portfolio_ids : ['31065240'] and first list_photo_ids : [] new path : /proc/4048227/ 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) All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! DataTypes for each output/input checked ! List Step Type Loaded in datou : tfhub_classification2, argmax list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFB[Errno 28] No space left on device can't download the photo : 1419149251 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149251_998aaa01bf7cf2adbbe130fdd2387f40.jpg FB[Errno 28] No space left on device can't download the photo : 1419149242 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149242_cfee3ebcfd71331270152cf3993f1288.jpg FB[Errno 28] No space left on device can't download the photo : 1419149239 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149239_96f052b9fb85822d77e6ce2ac8945c85.jpg FB[Errno 28] No space left on device can't download the photo : 1419149236 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149236_a5fb156bc5dab423bcb4f9ec99418690.jpg FB[Errno 28] No space left on device can't download the photo : 1419149233 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149233_894712d649367b9e4c83c5d464426ce8.jpg FB[Errno 28] No space left on device can't download the photo : 1419149231 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149231_7b64d5fca726b3f7c8ba8ff827d1efc9.jpg FB[Errno 28] No space left on device can't download the photo : 1419149229 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149229_3f527a28dc0b64ff2c99b5b02f827271.jpg FB[Errno 28] No space left on device can't download the photo : 1419149228 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149228_85f566792458c788bff09dab7f054307.jpg FB[Errno 28] No space left on device can't download the photo : 1419149227 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149227_e2103330e532af38773cdd2c235cdb32.jpg FB[Errno 28] No space left on device can't download the photo : 1419149226 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149226_8a649ca0e75785b5ca01be5be18aa02c.jpg FB[Errno 28] No space left on device can't download the photo : 1419149225 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149225_88c08da10499592136e5bf7894a3614d.jpg FB[Errno 28] No space left on device can't download the photo : 1419149221 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149221_92d9267ecc3f9f0338f8bf003e1c9312.jpg FB[Errno 28] No space left on device can't download the photo : 1419149219 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149219_5b8bf74c8eec6148918c5858edb264c4.jpg FB[Errno 28] No space left on device can't download the photo : 1419149187 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149187_ce0f37e8444a28bd790b6140b16ac1b3.jpg FB[Errno 28] No space left on device can't download the photo : 1419149186 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149186_ba380f15631ecaf04949637c4bac2c6c.jpg FB[Errno 28] No space left on device can't download the photo : 1419149185 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149185_d42d31e1d409fe6f3e6da40317caef1f.jpg FB[Errno 28] No space left on device can't download the photo : 1419149184 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149184_772c77bc7e3962f1a2b865c83be554ce.jpg FB[Errno 28] No space left on device can't download the photo : 1419149183 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149183_9369277bcf27d9aff3927061bf01d3f4.jpg FB[Errno 28] No space left on device can't download the photo : 1419149181 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149181_4996186fba2cc22fcb0c4c407215c52f.jpg FB[Errno 28] No space left on device can't download the photo : 1419149166 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149166_386162e6c2fa79863df705a322130f97.jpg FB[Errno 28] No space left on device can't download the photo : 1419149165 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149165_72d6221f2eb6f34d2ec149af2ae352bd.jpg FB[Errno 28] No space left on device can't download the photo : 1419149164 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149164_0a12d06e9d3f0513d9d2e8bc83cd8612.jpg FB[Errno 28] No space left on device can't download the photo : 1419149162 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149162_8636b7cb72ab1203d7f927c4021e2832.jpg FB[Errno 28] No space left on device can't download the photo : 1419149161 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149161_198bc08187e904aa15184f64eaa0f27b.jpg FB[Errno 28] No space left on device can't download the photo : 1419149160 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149160_47090a705c3258ef38d5ce3bec7c706b.jpg FB[Errno 28] No space left on device can't download the photo : 1419149157 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149157_93b71872db89cde2aa828ac1f5c6243a.jpg FB[Errno 28] No space left on device can't download the photo : 1419149156 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149156_56128b6c25e3056402476e62f36ed831.jpg FB[Errno 28] No space left on device can't download the photo : 1419149154 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149154_d480ebf8856d3d7747fce083731169c5.jpg FB[Errno 28] No space left on device can't download the photo : 1419149153 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149153_ff290929b967e2f4226ea7299ed29ca9.jpg FB[Errno 28] No space left on device can't download the photo : 1419149152 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149152_4a439a1f14812dec0d7b6c0cc82dfb22.jpg FB[Errno 28] No space left on device can't download the photo : 1419149151 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149151_f5ca5ad0b82bcb48b5e9c3c8347992de.jpg FB[Errno 28] No space left on device can't download the photo : 1419149150 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149150_65e9d205c587b78907793eba09431c69.jpg FB[Errno 28] No space left on device can't download the photo : 1419149149 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149149_4cc83d10af21983494e56990cad96637.jpg FB[Errno 28] No space left on device can't download the photo : 1419149148 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149148_9226ec757688cbb18da0d96c7362da5a.jpg FB[Errno 28] No space left on device can't download the photo : 1419149147 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149147_7079e525bb42ee296e9e37c2531a3c1a.jpg FB[Errno 28] No space left on device can't download the photo : 1419149146 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149146_251b09d8e0c793af5d1d1932ea0ba6cd.jpg FB[Errno 28] No space left on device can't download the photo : 1419149145 complete_path : /home/admin/workarea/git/Velours/python/temp/1790838630_4048227_1419149145_8a60987ea0143471024d6cac2beb4c3a.jpg Fwe have missing 37 photos in the step downloads : photo missing : [1419149251, 1419149242, 1419149239, 1419149236, 1419149233, 1419149231, 1419149229, 1419149228, 1419149227, 1419149226, 1419149225, 1419149221, 1419149219, 1419149187, 1419149186, 1419149185, 1419149184, 1419149183, 1419149181, 1419149166, 1419149165, 1419149164, 1419149162, 1419149161, 1419149160, 1419149157, 1419149156, 1419149154, 1419149153, 1419149152, 1419149151, 1419149150, 1419149149, 1419149148, 1419149147, 1419149146, 1419149145] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149251 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149242 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149239 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149236 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149233 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149231 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149229 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149228 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149227 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149226 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149225 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149221 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149219 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149187 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149186 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149185 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149184 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149183 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149181 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149166 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149165 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149164 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149162 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149161 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149160 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149157 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149156 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149154 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149153 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149152 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149151 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149150 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149149 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149148 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149147 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149146 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1419149145 length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 15.44900918006897 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 : 2 step1:tfhub_classification2 Thu Oct 1 09:10:45 2026 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 Beginning of datou_step TFHub with tf2 ! nombre de thcls : 3 we are using the classfication for multi_thcl [3513, 3379, 3847] begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 5 ERROR in datou_step_exec, will save and exit ! [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/admin/workarea/git/Velours/python'] File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2340, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2534, in datou_step_exec return lib_process.datou_step_tfhub2(param, json_param, args, cache, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_process.py", line 3089, in datou_step_tfhub2 import tensorflow as tf File "/usr/local/lib/python3.8/dist-packages/tensorflow/__init__.py", line 41, in from tensorflow.python.tools import module_util as _module_util File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/__init__.py", line 132, in from tensorflow.python.platform import test File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/platform/test.py", line 24, in from tensorflow.python.framework import test_util as _test_util File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/test_util.py", line 36, in from absl.testing import parameterized File "/usr/local/lib/python3.8/dist-packages/absl/testing/parameterized.py", line 171, in from absl.testing import absltest File "/usr/local/lib/python3.8/dist-packages/absl/testing/absltest.py", line 236, in flags.DEFINE_string('test_tmpdir', get_default_test_tmpdir(), File "/usr/local/lib/python3.8/dist-packages/absl/testing/absltest.py", line 177, in get_default_test_tmpdir tmpdir = os.path.join(tempfile.gettempdir(), 'absl_testing') File "/usr/lib/python3.8/tempfile.py", line 441, in gettempdir tempdir = _get_default_tempdir() File "/usr/lib/python3.8/tempfile.py", line 357, in _get_default_tempdir raise FileNotFoundError(_errno.ENOENT, [1419149264, 1419149260, 1419149257, 1419149255, 1419149253] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.11069774627685547 save_final ERROR in last step tfhub_classification2, [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/admin/workarea/git/Velours/python'] time spend for datou_step_exec : 2.430353879928589 time spend to save output : 0.1160135269165039 total time spend for step 0 : 2.5463674068450928 need to delete datou_research and reload, so keep current state 1 caffe_path_current : About to save ! 2 After save, about to update current ! 3.57user 3.15system 0:21.74elapsed 30%CPU (0avgtext+0avgdata 381380maxresident)k 608inputs+82808outputs (10major+139875minor)pagefaults 0swaps