This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kanazawa@dlbox1:~$ rm pre/ -r | |
rm: descend into write-protected directory 'pre/20200515-001735-first_dataset/learn/ckpt'? y | |
rm: remove write-protected directory 'pre/20200515-001735-first_dataset/learn/ckpt'? y | |
rm: cannot remove 'pre/20200515-001735-first_dataset/learn/ckpt': Permission denied | |
rm: descend into write-protected directory 'pre/20200515-001735-first_dataset/learn/train'? y | |
rm: remove write-protected regular file 'pre/20200515-001735-first_dataset/learn/train/events.out.tfevents.1589469626.679493e284fe'? y | |
rm: cannot remove 'pre/20200515-001735-first_dataset/learn/train/events.out.tfevents.1589469626.679493e284fe': Permission denied | |
rm: remove write-protected regular file 'pre/20200515-001735-first_dataset/learn/train/graph.pbtxt'? y | |
rm: cannot remove 'pre/20200515-001735-first_dataset/learn/train/graph.pbtxt': Permission denied | |
rm: remove write-protected regular file 'pre/20200515-001735-first_dataset/learn/train/model.ckpt-0.data-00000-of-00001'? y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Kanazawanaoaki/cook_eyes.git | |
wget https://gist.githubusercontent.com/k-okada/bb65691bd58a6175b8f5f1c2a3c4caed/raw/0febe43740776051c2d4df6a11feaade9288320c/train_edgetpu_detection.sh | |
mkdir dataset | |
cp -r cook_eyes/food_detector/curry_first_try/train/train_dataset_voc/ dataset/train/ | |
cp -r cook_eyes/food_detector/curry_first_try/val/val_dataset_voc/ dataset/test/ | |
bash ./train_edgetpu_detection.sh ./dataset/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ roslaunch --screen openni2_launch openni2.launch | |
... logging to /home/kanazawa/.ros/log/ed631272-968e-11ea-8d9e-287fcf98ebf8/roslaunch-kanazawa-ThinkPad-T495s-30161.log | |
Checking log directory for disk usage. This may take a while. | |
Press Ctrl-C to interrupt | |
Done checking log file disk usage. Usage is <1GB. | |
started roslaunch server http://kanazawa-ThinkPad-T495s:40321/ | |
SUMMARY | |
======== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import hashlib | |
import io | |
import logging | |
import numpy as np | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import hashlib | |
import io | |
import logging | |
import numpy as np | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq b1 (make-cylinder 30 2)) | |
(send b1 :translate #f(100 0 0)) | |
(send b1 :rotate (deg2rad -90) :y) | |
(send b1 :worldcoords) | |
(setq v-list (list (car (send b1 :vertices)))) | |
(dolist (x (cdr (send b1 :vertices))) (if (> (elt x 0) 99) (setq v-list (append v-list (list x))))) | |
(setq b2 (make-cone #f(-100 0 0) v-list)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tflite_convert --saved_model_dir=/home/kanazawa/Desktop/codes/in_jsk/tf_dir/tensorflow-memo/model/epic_object_detection/saved_model --output_file=/home/kanazawa/Desktop/codes/in_jsk/tf_dir/tensorflow-memo/model/epic_model.tflite | |
/home/kanazawa/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. | |
_np_qint8 = np.dtype([("qint8", np.int8, 1)]) | |
/home/kanazawa/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. | |
_np_quint8 = np.dtype([("quint8", np.uint8, 1)]) | |
/home/kanazawa/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a futur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kanazawa@kanazawa-ThinkPad-T495s:~/ros/jsk_demo_ws/src/euslib/demo/t-murooka/jsk_tool-contact-switch [tool-contact-switch] | |
$ roseus euslisp/applications/pr2-kitchen_knife.l | |
configuring by "/opt/ros/melodic/share/euslisp/jskeus/eus//lib/eusrt.l" | |
;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; extnum ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin | |
connected to Xserver DISPLAY=:0 | |
X events are being asynchronously monitored. | |
;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(load "package://eus_qp/optmotiongen/euslisp/inverse-kinematics-wrapper.l") | |
(load "package://eus_qp/optmotiongen/euslisp/discrete-kinematics-configuration-task.l") | |
(load "package://eus_qp/optmotiongen/euslisp/sqp-msc-optimization.l") | |
(require "irteus/demo/sample-arm-model.l") | |
(require "package://pr2eus/pr2.l") | |
(require "models/arrow-object.l") | |
(setq irteus-ik? nil) | |
(setq *robot* (instance pr2-robot :init)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
import argparse | |
import glob | |
import json | |
import os | |
import os.path as osp | |
import sys |
OlderNewer