반응형

github 3

use tools:overrideLibrary="org.tensorflow.tflite_flutter" to force usage

tensorflow는 tensorflow lite를 통해 공식적으로 flutter를 지원한다. The TensorFlow Lite Plugin for Flutter is Officially Available The TensorFlow blog contains regular news from the TensorFlow team and the community, with articles on Python, TensorFlow.js, TF Lite, TFX, and more. blog.tensorflow.org 또한, github에 예제 소스코드도 제공하고 있다. GitHub - tensorflow/flutter-tflite Contribute to tensorflow/flutter-tflite develop..

소스코드 이동 후 Git Repository 변경 (log 유지)

다른 곳에서 작업하던 소스코드를 옮겨온 후, git commit 이력을 그대로 유지한 채로 다른 repository 로 변경하는 방법이다. 이력까지 옮기려면 당연하게도, 기존에 작업하던 '.git' 폴더가 존재하고 있어야 한다. 기존의 repository remote 제거 git remote remove origin 새로 생성한 repository remote 추가 git remote add origin https://github.com/[github_id]/[repo_name].git 코드 push 예전에는 master가 default branch 였는데 요즘은 main이 default 이다. 하여튼 알맞는 이름을 사용하면 된다. git push -u origin [branch name]

프로그래밍/git 2021.09.22

GitHub personal access token

git 로그인을 시도하니 이전에 못보던 오류가 발생하였다. username 이나 password 가 잘못된 것이 아니라 github의 정책상 2021년 8월 13일부터는 password 인증을 지원하지 않는다고 한다. 대신 personal access token 을 사용하라고 안내에 나타나고 있다. Personal Access Token 생성 github 홈페이지에 로그인하고 회원정보 메뉴에서 Setting -> Developing settings 메뉴로 진입하면 "Personal access tokens" 항목이 보인다. Generate new token 버튼을 누르면 새로운 Personal access token을 생성할 수 있다. 토큰 목적, 기한, 접근 범위 등을 설정하는데 주기적으로 만들기 귀찮..

프로그래밍/git 2021.09.07
1
반응형