Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- eis
- 배터리 딥러닝
- bms
- state of health
- Battery modeling
- Incremental Capacity Analysis
- 칼만필터
- 코드로 이해하는 딥러닝
- 딥러닝 코드
- 배터리 모델링
- 머신러닝
- Battery AI
- tensorflow
- Deep learning
- Battery SOH
- 딥러닝
- Battery Management System
- 배터리 연구
- Azure
- 텐서플로우
- AzureML
- 배터리 열화
- 배터리 EIS
- 머신러닝 코드
- 배터리 진단
- 리튬배터리
- Battery Deep Learning
- Machine Learning
- 코이딥
- 배터리 AI
Archives
- Today
- Total
Engineering insight
[python] AttributeError: 'numpy.ndarray' object has no attribute 'numpy' 본문
DeepLearning Framework & Coding/De-bugging
[python] AttributeError: 'numpy.ndarray' object has no attribute 'numpy'
Free-Nomad 2021. 12. 25. 23:34
AttributeError: 'numpy.ndarray' object has no attribute 'numpy'
Numpy에 왜 numpy array 관련 함수가 없지? 라고 생각하실 수 있습니다.
하지만, 자세히 코드를 뜯어보면 이미 numpy array인 함수를 to_numpy로 다시 또 변경하고자 할때 해당 에러가 발생합니다.
to_numpy()를 하는 변수가 이미 어떤 data type인지 확인해보시면 좋습니다.
https://discuss.pytorch.org/t/attributeerror-numpy-ndarray-object-has-no-attribute-numpy/42062
AttributeError: 'numpy.ndarray' object has no attribute 'numpy'
@ptrblck, Hi! I’m trying to visualize the adversarial images generated by this script: https://pytorch.org/tutorials/beginner/fgsm_tutorial.html This tutorial is used for the mnist data. Now I want to use for other data which is trained using the incepti
discuss.pytorch.org
'DeepLearning Framework & Coding > De-bugging' 카테고리의 다른 글
| [Tensor 오류] RuntimeError : expected scalar type Double but found Float (0) | 2022.06.05 |
|---|---|
| ModuleNotFoundError: No module named 'tensorflow_addons' (0) | 2022.03.04 |
| [Github] Google Colab파일 Github로 push하기 (2) | 2021.12.21 |
| [Tensorflow 2.0] TypeError: '(slice(None, None, None), slice(None, -1, None))' is an invalid key (0) | 2021.12.21 |
| cannot import name 'Adam' from 'keras.optimizers' (0) | 2021.09.06 |
