| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 프로그래밍언어
- 컴퓨터비전
- 자바스크립트
- 데이터분석
- 소프트웨어공학
- 머신러닝
- 버전관리
- 웹개발
- Yes
- 딥러닝
- 네트워크보안
- 소프트웨어
- 인공지능
- 보안
- 디자인패턴
- 데이터베이스
- 데이터구조
- I'm Sorry
- 사이버보안
- 클라우드컴퓨팅
- 컴퓨터과학
- 알고리즘
- 네트워크
- 데이터과학
- 빅데이터
- 자료구조
- 파이썬
- 컴퓨터공학
- 프로그래밍
- springboot
- Today
- Total
목록2024/01/09 (15)
스택큐힙리스트
나는 Siamese Neural Networks에 대해 꽤 새로운데 최근에 이 예제와 Colab 노트북을 찾았다. 코드를 실행할 때 다음과 같은 오류가 발생한다: IndexError: 0-D tensor의 잘못된 인덱스입니다. 0-D tensor를 Python 숫자로 변환하려면 tensor.item()을 사용하세요. 다음 줄에서: result=torch.max(res,1)[1][0][0][0].data[0].tolist() tensor.item()에 대한 정보를 발견했지만 여기서 어떻게 사용해야 할지 모르겠습니다. 편집:test_dataloader = DataLoader(test_dataset,num_workers=6,batch_size=1,shuffle=True) 정확도 = 0 카운터 = 0 정답 = ..
TensorFlow 1.10.1을 설치했지만, TensorFlow를 가져오려고 할 때 TensorFlow 버전 1.10.0이 필요하다는 메시지가 표시되었습니다. 그래서 해당 버전을 설치했고, 이제 다음과 같은 경고가 발생합니다:>>> import tensorflow C:\Users\PC\Anaconda3\envs\tut\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)ty..
--------------------------------------------------------------------------- IndexError Traceback (most recent call last) in ----> 1 return_gdf = gpd.sjoin(points_gdf, polys_gdf, how=inner, op='intersects') ~\AppData\Local\Continuum\anaconda3\lib\site-packages\geopandas\tools\sjoin.py in sjoin(left_df, right_df, how, op, lsuffix, rsuffix) 73 tree_idx = rtree.index.Index(stream) 74 ---> 75 idxmatc..
나는 파이썬을 처음 시작했고 재귀적인 방식으로 생각하는 데 매우 서툴러요. 이 코드는 IndexError: string index out of range 오류를 발생시킵니다. 그리고 어떻게 수정해야 할지 감이 전혀 안 와요. def get_permutations(sequence): def permutationhelp(sequence, chosen): if sequence==: print(chosen) else: for i in range(len(sequence)): c = sequence[i] chosen += c sequence = sequence[i+1:] permutationhelp(sequence, chosen) sequence = c + sequence chosen = chosen[:-1] de..