게임/닌텐도 스위치2021. 1. 31. 19:58

언제 고장났더라?

아무튼.. 나에게는 제노블레이드 DE가 조이스틱 갈아먹는 게임이구나 ㅠㅠ

 

조립하던 중 걸쇠를 건드리긴 했는데 별일 없겠지 하고 조립하고 꽂으니

무선으로는 되는데 유선으로는 안되서 다시 분해!

헐.. 배터리랑 진동모터 사이에 커넥터가 살짝 빠지면 저런 일이 벌어지는구나..

 

찾아보니 한 달 만인가..

2020/12/12 - [게임/닌텐도 스위치] - 닌텐도 스위치 보호필름 교체 그리고 조이콘 조이스틱 수리

'게임 > 닌텐도 스위치' 카테고리의 다른 글

디아 스위치 구매  (0) 2021.09.30
제노블레이드 공략  (0) 2021.03.28
제노블레이드 크로니클스 de 엔딩  (0) 2021.01.08
조이콘 조이스틱 부품 분해  (0) 2020.12.14
조이콘 수리  (4) 2020.12.12
Posted by 구차니
embeded/raspberry pi2021. 1. 31. 15:18

dual cortex-m0

아두이노 나노를 노리는 타겟이것 같긴한데.. python 까지 되니 넘사벽이라고 해야하려나?

그러고 보니 아두이노도 cortex-m0가 있던거 같은데 아두이노 python도 찾아봐야겠다.

 

[링크 : http://www.raspberrypi.org/products/raspberry-pi-pico/]

[링크 : http://www.raspberrypi.org/products/raspberry-pi-pico/specifications/]

 

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이 서포트 규격  (0) 2021.04.20
fbset geometry, timing 수치  (0) 2021.02.19
bazel on rpi  (0) 2021.01.18
라즈베리에 GUI 환경 설치하기  (0) 2021.01.11
rpi youtube  (0) 2020.12.24
Posted by 구차니

오른발이 좀 가끔 움찔하게 아플때가 있어서 보니

설마했던 사마귀 재발 -_-

 

오늘 병원가서 확인해보니 맞다고. -_ㅠ

"아 고통의 시간이네요 ㅠㅠ"

의사도 피식 ㅠㅠ

 

 

아무튼 작고 생긴지 얼마 안되었고 1군데 뿐이라

이번에는 약도 없이 그냥 레이저로 지지고 옴

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

주말.. 쉬긴 개뿔  (0) 2021.02.13
피아노 사고싶다 ㅠㅠ  (0) 2021.02.12
문을 파괴한다!  (0) 2021.01.30
간만에 키즈카페 다녀옴  (0) 2021.01.23
오늘자 득템  (0) 2021.01.18
Posted by 구차니

어제인가 엊그제인가 화장실 문이 메롱해서

잘 안열리길래 주말에 바꾸려고 했는데

그 사이를 못 참고(?)

첫애가 화장실에 갖혔다!

 

열려고 별 쑈를 다 했으나 안되서

그냥 과감하게 영화에서 처럼(?) 발로 차서 파괴!

 

다행히 애가 말을 들어서 문뒤에 떨어져 있어서 다치진 않았는데

나가서 문고리 가격 알아보니 1.7만 ㅠㅠ 엉엉엉

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

피아노 사고싶다 ㅠㅠ  (0) 2021.02.12
고통의 시간.. ㅠㅠ  (2) 2021.01.30
간만에 키즈카페 다녀옴  (0) 2021.01.23
오늘자 득템  (0) 2021.01.18
UHD 프로그램이 별로 없네  (0) 2021.01.17
Posted by 구차니

변환한 모델 실행하는데 에러가 발생

정확하게는 모델을 불러오다 죽는게 아닌가 싶어서 해당 파일을 열어봄

$ ./label_image -i 2012060407491899196_l.jpg -l label -m go.tflite 
Loaded model go.tflite
resolved reporter
ERROR: tensorflow/lite/core/subgraph.cc BytesRequired number of elements overflowed.

세그멘테이션 오류 (core dumped)

 

음.. 593 라인 에러라는데

 

 563 namespace {
 564 // Multiply two sizes and return true if overflow occurred;
 565 // This is based off tensorflow/overflow.h but is simpler as we already
 566 // have unsigned numbers. It is also generalized to work where sizeof(size_t)
 567 // is not 8. 
 568 TfLiteStatus MultiplyAndCheckOverflow(size_t a, size_t b, size_t* product) {
 569   // Multiplying a * b where a and b are size_t cannot result in overflow in a
 570   // size_t accumulator if both numbers have no non-zero bits in their upper
 571   // half.
 572   constexpr size_t size_t_bits = 8 * sizeof(size_t);
 573   constexpr size_t overflow_upper_half_bit_position = size_t_bits / 2;
 574   *product = a * b;
 575   // If neither integers have non-zero bits past 32 bits can't overflow.
 576   // Otherwise check using slow devision.
 577   if (TFLITE_EXPECT_FALSE((a | b) >> overflow_upper_half_bit_position != 0)) {
 578     if (a != 0 && *product / a != b) return kTfLiteError;
 579   }
 580   return kTfLiteOk;
 581 }  
 582 }  // namespace
 583 
 584 TfLiteStatus Subgraph::BytesRequired(TfLiteType type, const int* dims,
 585                                      size_t dims_size, size_t* bytes) {
 586   TF_LITE_ENSURE(&context_, bytes != nullptr);
 587   size_t count = 1;
 588   for (int k = 0; k < dims_size; k++) {
 589     size_t old_count = count;
 590     TF_LITE_ENSURE_MSG(
 591         &context_,
 592         MultiplyAndCheckOverflow(old_count, dims[k], &count) == kTfLiteOk,
 593         "BytesRequired number of elements overflowed.\n");
 594   }
 595   size_t type_size = 0;
 596   TF_LITE_ENSURE_OK(&context_, GetSizeOfType(&context_, type, &type_size));
 597   TF_LITE_ENSURE_MSG(
 598       &context_, MultiplyAndCheckOverflow(type_size, count, bytes) == kTfLiteOk,
 599       "BytesRequired number of bytes overflowed.\n");
 600   return kTfLiteOk;
 601 }

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

tensorflow bazel build  (0) 2021.02.01
convert from tensorflow to tensorflow lite  (0) 2021.02.01
tensorflowlite build  (0) 2021.01.28
pb to tflite 변환 part 2...  (0) 2021.01.27
tensorflow netron  (0) 2021.01.27
Posted by 구차니
이론 관련/전기 전자2021. 1. 29. 11:13

아래에서 설명은 들어도 dBFS가 어떤 의미로 쓰이고 이 값이 멀 의미하는지 모르겠다.

dBFS는 디지탈 오디오 신호에 특히 더 중요하게 사용되는 개념입니다. 디지탈 오디오에서 신호는 숫자로 변환되고 다시 그 숫자가 실제의 아날로그 신호로 바뀝니다. 쉽게 생각해서 1부터 10까지 표현할 수 있는 디지털 오디오 시스템은 11보다 큰 크기의 아날로그 신호를 녹음할 수도 재생할 수도 없습니다. 자릿수를 넘어가면서 즉시 복구될 수 없는 클립핑이 생기는 것입니다. 

[링크 : http://audio-probe.com/documentation/db란-무엇인가/]

'이론 관련 > 전기 전자' 카테고리의 다른 글

Hall effect sensor  (0) 2021.06.22
emc2301 fan controller  (0) 2021.06.11
FFT와 고조파(harmonic)  (0) 2020.10.05
Audio Induction Loop  (0) 2020.09.21
quadrature sampling(I/Q signal)  (0) 2020.09.06
Posted by 구차니
하드웨어/Network 장비2021. 1. 28. 17:14

위조칩으로 인해서 막은건 기억을 했는데

이제는 인식은 하되 장치명을 이상하게 띄우고

시리얼 포트를 연결하지 않게 나온다.

 

물론 리눅스는 그런거 없이 잘 됨 ㅋ

'하드웨어 > Network 장비' 카테고리의 다른 글

rs485 2선 연결  (0) 2021.12.13
rs232 to rs485 무전원 컨버터 전원공급 방법 RI(ring indicator)  (0) 2021.12.08
채널 본딩...  (0) 2019.03.08
TLS 하드웨어 가속  (0) 2019.02.07
iptime port trunk / link aggregation  (0) 2019.01.24
Posted by 구차니
프로그램 사용/minicom2021. 1. 28. 14:56

minicom 으로 실행하면 폭이 늘어나지 않고 창도 안커지는데(putty)

아래와 같이 하면 창을 늘리면 같이 늘어난다.

 

$ TERM=linux minicom

[링크 : https://unix.stackexchange.com/questions/106644/how-to-change-the-width-of-remote-serial-console]

 

+물론 시리얼로 접속해서는 화면은 늘어나도 실제로 콘솔 영향을 받는지

더 위아래로 길게 나오진 않는다 ㅠㅠ

'프로그램 사용 > minicom' 카테고리의 다른 글

minicom lf에 cr 붙이기  (0) 2023.01.05
minicom 16진수로 보기  (0) 2022.08.25
minicom 로그 저장하기  (0) 2021.09.16
minicom timestamp  (0) 2021.09.16
/dev/tty 를 sudo 쓰지 않고 사용하기  (0) 2020.09.24
Posted by 구차니
Linux API/linux2021. 1. 28. 13:59

쓸일이 곧 생길게야.... (동공지진)

 

[링크 : https://github.com/torvalds/linux/blob/master/tools/spi/spidev_test.c]

+ 2021.02.08

 

It's easy to be confused here, and the vendor documentation you'll
find isn't necessarily helpful.  The four modes combine two mode bits:

 - CPOL indicates the initial clock polarity.  CPOL=0 means the
   clock starts low, so the first (leading) edge is rising, and
   the second (trailing) edge is falling.  CPOL=1 means the clock
   starts high, so the first (leading) edge is falling.

 - CPHA indicates the clock phase used to sample data; CPHA=0 says
   sample on the leading edge, CPHA=1 means the trailing edge.

   Since the signal needs to stablize before it's sampled, CPHA=0
   implies that its data is written half a clock before the first
   clock edge.  The chipselect may have made it become available.

[링크 : https://www.kernel.org/doc/Documentation/spi/spi-summary]

Posted by 구차니

with_select_tf_ops 라는 옵션이 보이는데

*.cc 파일들 상에서 해당 디파인으로 뒤져도 안나오고 py 쪽으로만 보이는데..

헛짚은건가?  ㅠㅠ

bazel build --config=monolithic --define=with_select_tf_ops=true -c opt //tensorflow/lite:libtensorflowlite.so

[링크 : https://stackoverflow.com/questions/58623937/]

Posted by 구차니