Коммит d8e24545 создал по автору Yaroslav's avatar Yaroslav
Просмотр файлов

Revert "add bug"

This reverts commit b14743a0af547bbc03d105360654692651b1b57d.
владелец 6f5c3908
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 4
}
%% Cell type:code id: tags:
``` python
from keras import Sequential as sq
from keras.layers import Dense
import numpy as np
import string
```
%% Cell type:code id: tags:
``` python
model = sq()
model.add(Dense(128, activation="relu"))
model.add(Dense(64, activation="relu"))
model.add(Dense(32, activation="relu"))
model.add(Dense(1, activation="sigmoid"))
```
%% Output
2023-01-14 15:45:06.913224: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2023-01-14 15:45:06.913597: W tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:265] failed call to cuInit: UNKNOWN ERROR (303)
2023-01-14 15:45:06.913697: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (yarburart-ThinkPad-E15): /proc/driver/nvidia/version does not exist
2023-01-14 15:45:06.914949: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
%% Cell type:code id: tags:
``` python
model.compile(optimizer='adam',
loss='binary_crossentropy',
metrics=['acc'])
```
%% Cell type:code id: tags:
``` python
data =
```
Это отличие свёрнуто
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
from keras import Sequential as sq
from keras.layers import Dense
import numpy as np
import string
```
%% Cell type:code id: tags:
``` python
model = sq()
model.add(Dense(128, activation="relu"))
model.add(Dense(64, activation="relu"))
model.add(Dense(32, activation="relu"))
model.add(Dense(1, activation="sigmoid"))
```
%% Output
2023-01-14 15:45:06.913224: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2023-01-14 15:45:06.913597: W tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:265] failed call to cuInit: UNKNOWN ERROR (303)
2023-01-14 15:45:06.913697: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (yarburart-ThinkPad-E15): /proc/driver/nvidia/version does not exist
2023-01-14 15:45:06.914949: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
%% Cell type:code id: tags:
``` python
model.compile(optimizer='adam',
loss='binary_crossentropy',
metrics=['acc'])
```
%% Cell type:code id: tags:
``` python
data =
```
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать