Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model change(ssdlite_mobilenet_v2.pb -> squeezenet.pb) #17

Closed
ddeokho opened this issue Mar 23, 2020 · 2 comments
Closed

Model change(ssdlite_mobilenet_v2.pb -> squeezenet.pb) #17

ddeokho opened this issue Mar 23, 2020 · 2 comments

Comments

@ddeokho
Copy link
Contributor

ddeokho commented Mar 23, 2020

변경하는 이유

  • 2D projection한 데이터셋을 판단하는데 더 알맞은 형태라 생각함.

현재 상황

  • 'tf_model' 폴더 내에 'squeezenet.pb', 'labels.txt' 추가 및 해당 파일을 읽을 수 있도록 코드 내 경로 설정
  • 돌렸을 때 나오는 에러
**
ERROR:/build/nnstreamer-SNTNwZ/nnstreamer-1.5.0.0/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.cc:369:int TFCore::validateTensor(const GstTensorsInfo*, int): assertion failed: (op != nullptr)

Thread 1 "nntest333" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

가정

  • tensor_filter에서 사용할 수 있는 모델이 정해져 있는 것인가?
  • squeezenet.pb에 맞는 input type(=tensor)이 존재하는 것인가?

마감

  • 3/26일(목)

리뷰어

  • 다운 님, 용희 님
@ddeokho
Copy link
Contributor Author

ddeokho commented Apr 4, 2020

모델 변경 없이 진행하는 것으로 했었지만 필요할 것 같다는 생각이 듦.. 그리고 만들어야 제대로 된 결과가 나올 것 같다.

@ddeokho
Copy link
Contributor Author

ddeokho commented Apr 4, 2020

프레임에 딱 맞춰 데이터를 넣었더니 인지하기 시작함. 즉, 모델 변경 없이 필터를 주면 될 것 같다.

Screenshot from 2020-04-04 19-25-45

Screenshot from 2020-04-04 19-38-26

사람이 있는 곳에 사람을 잡기 시작(사람일 확률을 0.3~0.7의 범위로 잡음). 단 바운딩 박스가 그려진 걸 봤을 때 높이는 제대로 잡는데 넓이는 아직 제대로 안잡힌다. 그리고 잘못 인지하지 못하는 부분도 발생 한다.

그래서 모델을 바꾸는 것 대신 필터를 조정해 보아야 할 듯하다.

@ddeokho ddeokho closed this as completed Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant