본문 바로가기

전체 글840

[Git Bash] 저장소의 폴더 및 파일 삭제 ⭐ 1. Git bash에서 remote repository 변경 전 pull을 통해 버전 맞추기 $ git pull origin main remote: Enumerating objects: 11, done. remote: Counting objects: 100% (11/11), done. remote: Compressing objects: 100% (9/9), done. remote: Total 9 (delta 6), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (9/9), 2.10 KiB | 46.00 KiB/s, done. From https://github.com/HJ0216/TIL * branch main -> FETCH_HEAD 184.. 2023. 1. 22.
[해결 방법] fatal: refusing to merge unrelated histories 발생 Error Git Bash에서 다음 명령어를 입력할 경우, $ git pull origin main remote: Enumerating objects: 247, done. remote: Counting objects: 100% (247/247), done. remote: Compressing objects: 100% (187/187), done. remote: Total 247 (delta 73), reused 157 (delta 38), pack-reused 0 Receiving objects: 100% (247/247), 59.49 KiB | 378.00 KiB/s, done. Resolving deltas: 100% (73/73), done. From https://github.com/HJ02.. 2023. 1. 22.
Git 설치 및 초기 설정 $ git push -u origin main Enumerating objects: 6, done. Counting objects: 100% (6/6), done. Delta compression using up to 8 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 520 bytes | 520.00 KiB/s, done. Total 4 (delta 1), reused 0 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (1/1), done. To https://github.com/HJ0216/TIL.git 5376d70..1843ac3 main -> main br.. 2023. 1. 22.
[해결 방법] error: failed to push some refs to 'https://github.com/' 발생 Error Git Bash에서 다음 명령어를 입력할 경우, $ git push -u origin main To https://github.com/HJ0216/TIL.git ! [rejected] main -> main (fetch first) error: failed to push some refs to 'https://github.com/HJ0216/TIL.git' ⭐ ! [rejected] main -> main (fetch first) ⭐ error: failed to push some refs to 'https://github.com/HJ0216/TIL.git' Error 발생 Error 원인 원격 저장소의 main branch에 저장되어있는 내용과 로컬 저장소의 내용이 일치하지 않아 발생 .. 2023. 1. 22.
Pandas Package and Missing Value Handling 기본 환경: IDE: VS code, Language: Python ⭐ 서울시 따릉이 대여량 예측 경진대회 자료를 통한 Pandas pkg 및 결측치(Missing Value) 처리 방법 # dacon_seoul_ddarung.py # dacon_seoul_ddarung data: https://dacon.io/competitions/open/235576/data import numpy as np import pandas as pd from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from sklearn.model_selection import train_test_split from sklearn.. 2023. 1. 21.
Environment Settings for GPU usage 기본 환경: IDE:VS code, Language:Python ⭐ GPU 사용을 위한 환경 설정 1. Google: Nvdia Driver DownLoad 2. Google: Cuba DownLoad(v.11.4.4) 3. Google: cuDNN DownLoad login(Sign in required) Archived relaesae Version에 맞는 cuDNN Download 4. D drive 내 'program' 폴더 생성 program 폴더 내에 해당 파일(다운로드 받은 파일 3개) 복사 (Ncvidia Driver) 527.56-desktop-win10-win11-64bit-international-dch-whql (cuda) cuda_11.4.4_472.50_windows (cuDNN.. 2023. 1. 21.