AtCoderAtCoder Beginner Contest 177の感想 ABC177に参加した。 A - Don't be late やるだけ。 d, t, s = map(int, input().split()) if d / s <= t: print('Yes') else: print...2020.08.302020.09.10AtCoder
Pythonpip installでpermission deniedが出てsudoや–userでも上手く行かない pip installした時にpermission deniedが起きた。 --userフラグを使うと上手くいくらしい。 pip install hogehoge --user が、またpermission denied. 安直にsudoを...2020.08.26Python
AtCoderAtCoder Beginner Contest 176の感想 ABC176に参加した。 A - Takoyaki やるだけ。 n, x, t = map(int, input().split()) if n % x == 0: ans = n // x else: ans = n // x + 1 a...2020.08.232020.09.08AtCoder
LinuxPyQtのinstallでERROR: Command errored out with exit status 1 Jetson Nanoにてpyqtをインストールしようとしたが表題のエラーが発生。 sudo pip3 install pyqt5 (中略) ERROR: Command errored out with exit status 1: /u...2020.08.19Linux
PythonLightGBMでAttributeError: ‘LGBMRegressor’ object has no attribute ‘feature_name_’ LightGBMを使っていると表題のエラー。 feature_name_属性がないと怒られる。 最新のmasterブランチにこの属性は含まれていないようで、nightlyビルドを使ってみたらエラーは出なくなった。 feature_name_...2020.08.16Python
AtCoderAtCoder Beginner Contest 175の感想 ABC175に参加した。 A - Rainy Season やるだけ。 s = input().split('S') ans = max() print(ans) B - Making Triangle 3辺がすべて異なる三...2020.08.152020.09.07AtCoder
Pythonscikit-leranのKerasClassifierでValueError: The estimator KerasClassifier should be a classifier. scikit-learnのStackingClassifierでKerasClassifierを使った時に表題のエラー。 ValueError: The estimator KerasClassifier should be a class...2020.08.15Python
PythonMacのLightGBMでエラー image not found MacOS 10.15.5 LightGBMを使いたくなったのでpipでインストールしたら表題のエラー。 公式ドキュメントを見てみる。 On macOS LightGBM can be installed using Homebrew, o...2020.08.14Python
Deep LearningKerasでval_acc、val_auc、val_lossが同じ値のまま更新されない Tensorflow.kerasでDensenetとMobileNetを使っていた時のこと。 accやauc、lossは更新されるが、val_aucが0.5000のまま一切更新されず、val_accやval_lossも同じ値を取り続けていた...2020.08.07Deep Learning
LinuxUbuntuでkswapdがCPU使用率100%になる OS:Ubuntu 18.04 Tensorflowでディープラーニングを行っていた所、学習が始まって数時間放置した頃にモニターを確認してみるとCPU使用率が100%になり、コマンド入力を受け付けない状態になっていた。 nmonではCPU使...2020.08.06Linux