728x90
300x250

[인공지능(AI)] 우분투 22.04 환경 - Jupyter Notebook 설정하기

 

우분투 22.04에서 Jupyter notebook 외부 접속이 가능하도록 환경설정을 하였습니다.

 

-----------------------------------------------------------------------------

/*
Subject: Jupyter Notebook - Settings
Author: Doyoon Jung (rabbit.white@daum.net)
Created Date: 2023-04-16 (Sun)
Description:
*/

$HOME/.jupyter/jupyter_notebook_config.py 수정하기

# jupyter notebook --generate-config

1. 외부 접속 허용
c.NotebookApp.allow_origin = '*'

2. 외부 IP 허용
c.NotebookApp.ip = '*'

3. 주피터 노트북 경로
c.NotebookApp.notebook_dir = u'/home/rabbitsun2/jupyter_notebook'

4. 웹 브라우저 자동 실행 끄기
c.NotebookApp.open_browser = False

5. 주피터 노트북 암호 설정



5-1. ipython에서 패스워드 생성하기
$ ipython

In [1]: from notebook.auth import passwd

In [2]: passwd()

Enter password:
Verify Password:
Out[2]: 'sha2:..........................................................'

In [3]: exit

c.NotebookApp.password = u'argon2:$'

6. 주피터 노트북 포트 설정
# c.NotebookApp.port = 8888

7. SSL 설정
# sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "cert2048.key" -out "cert2048.pem" -batch

* rsa를 1024로 하면
   - ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:3874) 에러가 발생
   - 2048로 수정하고 생성 후 적용

c.NotebookApp.keyfile = u'/home/rabbitsun2/ssl/cert2048.key'
c.NotebookApp.certfile = u'/home/rabbitsun2/ssl/cert2048.pem'
반응형
728x90
300x250

Yolo v5, Roboflow에 대한 리눅스 서버 환경 구축부터 YoLo v5 사용에 이르기까지 전 과정을 담아보았습니다.

AI GPU 서버 환경 구축까지 구체적으로 진행하는 방법에 대해서 정리하였습니다.

 

[준비물]

구분 세부 내용
CPU intel i5 CPU 6세대 이상 권장
RAM DDR4 16GB ~ 32GB
VGA Geforce 시리즈 8GB 이상
SSD 500GB 이상 권장
OS Ubuntu Server.iso 파일
USB Memory 1EA (16GB higher)

 

[첨부(Attachment)]

230401_pytorch_cuda_miniconda_anaconda_nohup_settings_guide (1).pptx
3.13MB

리눅스(우분투 22.04)에서 jupyter notebook 환경 설정하는 방법에 대해서 소개하였습니다.

[인공지능(AI)] 우분투 22.04 환경 - Jupyter Notebook 설정하기, 2023. 4. 22. 02:05
https://yyman.tistory.com/1598 

 

반응형
728x90
300x250

[이야기(Story)] 블로그를 하면서 느낀 점 정리해보기

 

2007년부터 시작해서 지금까지 블로그를 장기간 운영하고 있습니다.

쉽지만 않았습니다.

콘텐츠를 어떻게 하면 독특하게 개성 있게 만들어볼까 많은 고민했었습니다.

 

예를 들면, 동영상으로 스트리밍되는 콘텐츠가 있다면 사진으로 변환해보기도 하고.

블로그를 순수하게 운영하려고 많은 노력을 했었습니다.

쉽지만 않았습니다.

 

지금은 벌써 제 블로그가 나이 든 것처럼 저도 나이가 들어갑니다.

예전처럼 열정을 다해 많은 시간을 쏟을 수 있을지도 모르겠습니다.

 

천천히 다시 운영해보려고 합니다. 

반응형
728x90
300x250

안녕하세요.

도도입니다. 이번에 소개할 내용은 현재 시제에 대해서 소개하겠습니다.


[1. 예문]

She is at the table.

She is selling books.

그녀는 책을 팔고 있다.

 

[2. be~ing (present tense)]

I am (not) washing
He/She/it is playing
we/you/they are watching

의문문

am I washing...?
is he/she/it playing...?
are we/you/they watching...?

[3. 동사에 ing를 붙일 때]

+ ing cook->cooking                   grow->growing                 join->joining
-e -> e를 빼고 + ing dance->dancing                 drive->driving                  write->writing
use->using                         hope->hoping                  decide->deciding
change->changing             save->saving                   invite->inviting
-ee + ing agree->agreeing                see->seeing
-ie -> ie를 y로 바꾸고 + ing die->dying                          lie->lying                         tie->tying
단모음 + 단자음으로 끝날 때 1음절 단어는 끝에 오는 자음을 한 번 더 쓰고 ing를 씁니다.
stop->stopping                   knit->knitting                   rub->rubbing
plan->planning                   dip->dipping                    run->running
get->getting                        chat->chatting                jog->jogging
2음절 이상의 단어는 강세가 마지막에 있는 경우에만 끝에 오는 자음을 한 번 더 쓰고
ing를 씁니다.
begin->beginning                                 refer->referring
permit->permitting                                prefer->preferring
admit->admitting                                  regret->regretting

[4. 현재 진행 시제(1)]

 

* Sophia, can you answer the phone?

  -> I'm washing the dishes. (설거지를 하고 있어)

* Mike isn't playing video games anymore. (Mike는 더 이상 비디오 게임을 하고 있지 않다.)

  -> He's watching TV. (TV를 보고 있다.)

* Are you using that pen?

  -> May I borrow it?  Sure. Here you go.

* It's not snowing a lot outside.

  -> Just a little.

 

[5. 현재 진행 시제(2)]

 

* We're planning a Christmas party. Do you want to come? 

   -> Sure

* I'm very busy this week. I'm writing a report for my English class.

* Ann isn't living in the dorm this semester. She's staying at her aunt's house.

* What are you doing these days? Are you practicing for the soccer match?

 

[6. 현재 진행 시제(3)]

(right) now    (바로) 지금                            at the moment   지금, 요즘
these days     요즘                                      this week / month / year   등    이번 주 / 이번 달 / 올해 등

* I can't go out with you. I'm studying right now.   지금 공부하고 있어.

* Our website isn't working at the moment. We need to find the problem.

* "Michelle! You look great!"  "Thanks. I'm exercising more these days."

* "Are the stores having big sales this week?"   "Yes, Let's go shopping tomorrow!"

반응형
728x90
300x250

[영어(English)] Country / Nice to meet you

 

프로그래머가 되기 위해서는 영어 공부도 해두면 좋습니다.

기초 영어 공부를 소개해볼까 합니다.

[Vocabulary]

Australia Canada South Korea the US
Thailand Mexico Brazil Germany

[Language Practice]

I'm a student
You're from South Korea.
He's from the US.
She's from Mexico
We're students.
They're from the US.
I am -> I'm
you are -> you're
he is -> he's
she is -> she's
we are -> we're
they are -> they're
I'm not a teacher
You aren't from Brazil
He isn't from Thailand.
She isn't from the US.
We aren't students.
They aren't from Australia.

are not -> aren't
is not -> isn't



Are you a student?
Is he / she a teacher?
Yes, I am
Yes, he / she is.
No, I'm not.
No, he / she isn't
 
What's your name?
Where are you from?
What is -> What's
I'm from Germany.
   
How are you?
How old are you?
I'm fine.
I'm 18.
   

[Basic Listening]

R) Hello, everyone! My name is Ray.
     It's spelled R -a -y. I'm from canada. I'm your teacher.
     Welcome to the class! Nice to meet you all. Can tell me your names?
Y) Hello, my name is Yuko.
R) Can you repeat that?
Y) Yuko. It's spelled Y-u-k-o.
R) OK. Where are you from, Yuko?
Y) I'm from Nagoya.
R) Where's Nagoya?
Y) In Japan.
R) Thank you. And welcome to my class.
Y) Thank you, it's nice to be here
Hello, everyone! My name is Ray. It's spelled R -a -y. I'm from canada. I'm your teacher.
Welcome to the class! Nice to meet you all. Can tell me your names?
Hello, my name is Yuko.
Can you repeat that?
Yuko. It's spelled Y-u-k-o.
OK. Where are you from, Yuko?
I'm from Nagoya.
Where's Nagoya?
In Japan.
Thank you. And welcome to my class.
Thank you, it's nice to be here

* Listen again and answer the questions.

1. What's the teacher's name?   3. Where is Yuko from?  
2. Where's the teacher from?   4. Where is Tomas from?  

(답은 공개하진 않습니다.)

(기초 듣기 공부도 하셔야 합니다.)

 

[Attachments]

221022_sample_script_basic.mp3
0.46MB

[Grammer]

Wh-questions Affirmative statements Negative statements
What is your name?
Where are you from?
How old are you?
What is your favorite movie?
                   am
I                  'm

You
We            are                  from Mexico.
They          're

He
She            is                  
It                 's
                  am not
I                 'm not

You            are not
We             aren't           from Brazil.
They         're not

He             is not
She           isn't
It               's not
Yes/No question Short answers
Are           You
                  we
                 they
                                             from Japen
                   he
Is                she
Yes, I am.             No, I'm not.
Yes, we are.         No, we aren't.      /    No, we're not.
Yes, they are.       No, they aren't.    /    No, they're not.

Yes, he is.             No, he isn't  /  No, he's not.
Yes, she is.           No, she isn't. / No, she's not.
Yes, it is.               No, it isn't.    /  No, it's not.

 

반응형
728x90
300x250

[컴퓨터 - PC활용] 리눅스 / 한컴구름 OS, 한컴오피스 2022 beta, V3 Lite 소개

 

이번에 소개할 내용은 리눅스에서 한컴구름 OS, 한컴오피스 2022 beta버전을 소개하려고 한다.

 


1. 목차 및 안내사항

잘 읽어보기 바란다.

 


4. 본문

본문 내용이다.

https://www.hancom.com/cs_center/csDownload.do?gnb0=25&gnb1=80
https://www.hancom.com
https://www.gooroom.kr/
공식 사이트와 입장이 다를 수도 있으니 꼭 접속하시어 참고하기 바란다.
(https://gooroom.kr)에서 프로젝트의 소스코드 및 궁금한 사항에 대해서 살펴볼 수 있다.

 

 

 

 

 

 


5. 첨부(Attachment)

210630_ubuntu_hancom_gooroom_setup_guide.zip
6.72MB

(Apache License v2.0을 적용받는다.)

 


6. 맺음글(Conclusion)

개방형 운영체제 구름 OS에 대해서 설치하는 방법과 한컴오피스 2022 Beta, V3 Lite에 대해서 살펴보았다.

 


7. 참고자료(References)

반응형
728x90
300x250

[심심풀이(pastime)] 전자 - 연구노트(디지털노트)

 

이번에 소개할 내용은 앞에서 종이 연구노트에 대해서 살펴보았는데, 이번에는 전자식 연구노트에 대해서 살펴보려고 한다.

구현은 다 하진 않았으나 큰 의미는 없을 것으로 보인다.

기술적으로는 "인증체계를 갖추고, 전자식 서명을 해야한다."라고 되어 있으나, 오픈소스 게시판을 활용하거나 다른 다양한 방법으로 사용해도 무방할 것으로 보인다.

 

[심심풀이(pastime)] 연구 노트 작성하기(종이 연구노트), 2021-06-27. 19:32
https://yyman.tistory.com/1573

1. 소개

전자식 연구노트이다. 

완성 작품은 아니지만, 공개를 하였다.

 

package com.stream.digitalnote.dto;

public class MemberDTO {

          private String id;
          private String uuid;

          private String email;
          private String passwd;

          private String level;
          private String ipv4;
          private String ipv6;

          private String regidate;

          public String getId() {
                    return id;
          }

          public void setId(String id) {
                    this.id = id;
          }

          public String getUuid() {
                    return uuid;
          }

          public void setUuid(String uuid) {
                    this.uuid = uuid;
          }

          public String getEmail() {
                    return email;
          }

          public void setEmail(String email) {
                    this.email = email;
          }

          public String getPasswd() {
                    return passwd;
          }

          public void setPasswd(String passwd) {
                    this.passwd = passwd;
          }

          public String getLevel() {
                    return level;
          }

          public void setLevel(String level) {
                   this.level = level;
          }

          public String getIpv4() {
                   return ipv4;
          }

          public void setIpv4(String ipv4) {
                    this.ipv4 = ipv4;
          }

          public String getIpv6() {
                    return ipv6;
          }

          public void setIpv6(String ipv6) {
                   this.ipv6 = ipv6;
          }

          public String getRegidate() {
                    return regidate;
          }

          public void setRegidate(String regidate) {
                   this.regidate = regidate;
          }

}
 

 


2. 첨부(Attachment)

210627_based_web_electronic_write_a_study.zip
0.73MB

(Apache License v2.0을 적용받는다.)

 


3. 맺음글(Conclusion)

전자식 연구노트에 대해서 살펴보았다.

 


4. 참고자료(Reference)

1.

반응형
728x90
300x250

[심심풀이(pastime)] 연구 노트 작성하기(종이 연구노트)

이번에 다뤄볼 주제로는 연구노트 작성에 대해서 다뤄보고자 한다.

"종이 연구노트 작성"을 시작으로 "전자식 연구노트"에 대해서 소개하도록 하겠다.

[심심풀이(pastime)] 전자 - 연구노트(디지털노트), 2021-06-27 19:49
https://yyman.tistory.com/1574 

1. 종이 연구노트 작성

종이 연구노트의 모습이다. 공책 한권에 꼼꼼이 메모를 하면 된다.

 


2. 첨부(Attachments)

210627_write_a_paper_study.zip
3.44MB

(Apache License v2.0을 적용받는다.)


3. 맺음글(Conclusion)

종이로 연구노트를 작성하는 방법에 대해서 살펴보았다.

 

 


4. 참고자료(References)

1

반응형

+ Recent posts