AtCoderAtCoder Beginner Contest 175の感想 ABC175に参加した。 A - Rainy Season やるだけ。 s = input().split('S') ans = max() print(ans) B - Making Tr... 2020.08.15 2020.09.07AtCoder
Pythonscikit-leranのKerasClassifierでValueError: The estimator KerasClassifier should be a classifier. scikit-learnのStackingClassifierでKerasClassifierを使った時に表題のエラー。 ValueError: The estimator KerasClassifier should be... 2020.08.15Python
PythonMacのLightGBMでエラー image not found MacOS 10.15.5 LightGBMを使いたくなったのでpipでインストールしたら表題のエラー。 公式ドキュメントを見てみる。 On macOS LightGBM can be installed... 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%になり、コマンド入力を受け付けない状態になっていた。 ... 2020.08.06Linux
AtCoderAtCoder Beginner Contest 174の感想 ABC174に参加した。 A - Air Conditioner やるだけ。 x = int(input()) if x >= 30: print('Yes') else: ... 2020.08.03 2020.08.10AtCoder
PythonPythonでFunction nameをStringで取り出す Tensorflowで複数モデルをループさせて色々な学習をさせていた時、今なんのモデルを学習しているのかprintしたくなった。 単純にprintしてみたところ、以下のような出力になった。 print(Efficien... 2020.07.31Python
AtCoderM-SOLUTIONS プロコンオープン 2020の感想 M-SOLUTIONS プロコンオープン 2020に参加した。 A - Kyu in AtCoder やるだけ。 x = int(input()) if 400 <= x < 600: pr... 2020.07.26AtCoder
Deep LearningKerasでRuntimeError: The name is used 2 times in the model.All layer names should be unique Kerasで同じモデルを複数使った時に表題のエラー。 model1 = vgg16.VGG16(...) model2 = vgg16.VGG16(...) みたいなコードを書いていたら、 RuntimeErro... 2020.07.16Deep Learning
Deep LearningTensowflowでFP16をいい感じに使って自動で高速化してくれるAutomatic Mixed Precision NVIDIA RTXシリーズのGPUはTensor Coreを搭載しており、FP16で計算することでFP32よりも計算量を落とし、ディープラーニングにかかる時間を短くしてくれる。 ただし、FP16にしてもいいレイヤーとFP3... 2020.07.15Deep Learning