Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Real or Not? NLP with Disaster Tweets
- programmers
- 백준
- github
- 편스토랑
- 캐치카페
- 프로그래머스 파이썬
- 우분투
- Git
- ChatGPT
- leetcode
- SW Expert Academy
- Kaggle
- 파이썬
- 프로그래머스
- hackerrank
- ubuntu
- Docker
- Baekjoon
- 코로나19
- PYTHON
- 데이콘
- 금융문자분석경진대회
- 자연어처리
- AI 경진대회
- 더현대서울 맛집
- dacon
- 편스토랑 우승상품
- gs25
- 맥북
Archives
- Today
- Total
목록
반응형
tf.session (1)
반응형
솜씨좋은장씨
[TF1.x] Tensorflow RuntimeError: Attempted to use a closed Session 오류 해결 방법
with tf.Session() as sess: # Initialize TensorFlow variables sess.run(tf.global_variables_initializer()) sess.run(tf.global_variables_initializer()) for step in range(10001): cost_val, _ = sess.run([cost, train], feed_dict={X: x_data, Y: y_data}) if step % 200 == 0: print(step, cost_val) # Accuracy report h, c, a = sess.run([hypothesis, predicted, accuracy], feed_dict={X: x_data, Y: y_data}) pri..
머신러닝 | 딥러닝/TensorFlow | Keras
2021. 1. 8. 02:49
반응형