논문 구현

[논문 구현] Dex-Net 구조 (dex-net/apps)

Simon-Kim 2022. 3. 25. 08:48

출처 : https://github.com/BerkeleyAutomation/dex-net

# dex-net/apps/dexnet_cli.py

데이터베이스를 사용하기 위한 명령행 도구

 

* class Completer

- __init__ : 명령 리스트를 제공

- _listdir : 서브디렉토리에 경로를 나눠주는 리스트 디렉토리 'root'

- _complete_path : 파일시스템 경로의 완벽을 수행

- complete_extra : 'extra' 명령을 위한 완벽

- complete : Generic readline completion entry point

- set_words : dexnet entity tab completion

 

* class DexNet_cli

- API

- __init__ : 핵심 멤버를 초기화

 

* if __name__ = '__main__'