前提・実現したいこと
現在、tensorflow-gpuを利用して機械学習を行っているのですが、その際にログ表示?らしき文が端末に大量に現れて表示が見にくく困っています。
これを表示させないようにする方法をご存じの方がおられましたら、お教えいただけますと幸いです。
発生している問題・エラーメッセージ
以下のようなログ?が端末に繰り返し表示されます。プログラム自体は動作しています。
2019-05-07 07:52:26.170941: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1471] Adding visible gpu devices: 0 2019-05-07 07:52:26.170990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-05-07 07:52:26.170996: I tensorflow/core/common_runtime/gpu/gpu_device.cc:958] 0 2019-05-07 07:52:26.171015: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0: N 2019-05-07 07:52:26.171128: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7083 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1070 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
補足情報(FW/ツールのバージョンなど)
環境構築はこちらに従いました。
現在の環境は以下の通りです。
OS:Ubuntu 18.04.2 LTS
GPU:GeForce GTX 1070 Ti
cuDNN:cuDNN v7.1.4
$ python3 -V Python 3.6.7 $ nvidia-smi Tue May 7 07:58:16 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 390.116 Driver Version: 390.116 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 107... Off | 00000000:01:00.0 On | N/A | | 31% 47C P0 39W / 180W | 478MiB / 8117MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 4510 G /usr/lib/xorg/Xorg 18MiB | | 0 5585 G /usr/bin/gnome-shell 56MiB | | 0 5775 G /usr/lib/xorg/Xorg 183MiB | | 0 5910 G /usr/bin/gnome-shell 177MiB | | 0 12431 G ...-token=D9E48A35B71F796FD720377492AF47B3 39MiB | +-----------------------------------------------------------------------------+ $ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2017 NVIDIA Corporation Built on Fri_Sep__1_21:08:03_CDT_2017 Cuda compilation tools, release 9.0, V9.0.176 $ pip3 list Package Version ----------------------- ------------------- absl-py 0.7.1 apturl 0.5.2 asn1crypto 0.24.0 astor 0.7.1 Brlapi 0.6.6 certifi 2018.1.18 chardet 3.0.4 command-not-found 0.3 cryptography 2.1.4 cupshelpers 1.0 cycler 0.10.0 defer 1.0.6 distro-info 0.18ubuntu0.18.04.1 gast 0.2.2 grpcio 1.20.1 httplib2 0.9.2 idna 2.6 keyring 10.6.0 keyrings.alt 3.0 kiwisolver 1.1.0 language-selector 0.1 launchpadlib 1.10.6 lazr.restfulclient 0.13.5 lazr.uri 1.0.3 louis 3.5.0 macaroonbakery 1.1.3 Mako 1.0.7 Markdown 3.1 MarkupSafe 1.0 matplotlib 3.0.3 netifaces 0.10.4 numpy 1.16.3 oauth 1.0.1 olefile 0.45.1 pandas 0.24.2 pexpect 4.2.1 Pillow 5.1.0 pip 19.1.1 protobuf 3.7.1 pycairo 1.16.2 pycrypto 2.6.1 pycups 1.9.73 pygobject 3.26.1 pymacaroons 0.13.0 PyNaCl 1.1.2 pyparsing 2.4.0 pyRFC3339 1.0 python-apt 1.6.3+ubuntu1 python-dateutil 2.8.0 python-debian 0.1.32 pytz 2019.1 pyxdg 0.25 PyYAML 3.12 reportlab 3.4.0 requests 2.18.4 requests-unixsocket 0.1.5 scikit-learn 0.20.3 scipy 1.2.1 screen-resolution-extra 0.0.0 SecretStorage 2.3.1 setuptools 41.0.1 simplejson 3.13.2 six 1.12.0 sklearn 0.0 system-service 0.3 systemd-python 234 tensorboard 1.9.0 tensorflow-gpu 1.9.0 termcolor 1.1.0 ubuntu-drivers-common 0.0.0 ufw 0.36 unattended-upgrades 0.1 urllib3 1.22 usb-creator 0.3.3 wadllib 1.3.2 Werkzeug 0.15.2 wheel 0.33.1 xkit 0.0.0 zope.interface 4.3.2
どうかお力添えをお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/07 21:24