2019-03

AtCoder

C/C++でAtCoderに提出するとRE(Runtime Error)になる原因

友人と一緒にプログラムを検証。 正しいはずなのに、何回提出してもREになって悩んでた。 よくある原因としては以下の例があります。 C/C++においては、int型のmain関数内でreturn 0;する必要があります。 #include<st...
Deep Learning

kerasのmodel.summaryでThis model has not yet been builtと怒られる

model.summary()で出てくるエラー ValueError: This model has not yet been built. Build the model first by calling build() or calli...
Deep Learning

kerasのmodel.summaryでbound method Network.summaryと表示される

model.summaryしてもこんなメッセージが出る。 <bound method Network.summary of <keras.engine.training.Model object at 0x12222bf60>> 想定してた...