Tuesday, March 28, 2023

Jetson Nano and Tensorflow 2.4 in Python3.6

 

References:

[1] https://qengineering.eu/install-tensorflow-2.4.0-on-jetson-nano.html

[2] Lite https://qengineering.eu/install-tensorflow-2-lite-on-jetson-nano.html

[3] Install bazel https://github.com/jkjung-avt/jetson_nano/blob/master/install_bazel-3.1.0.sh

Linux verify disk activities

 

 

$ sudo apt-get install iotop

$ sudo iotop -a
$ sudo iotop -oPa -d 2  #more specific
 

$ iostat  #activity by sda, sdb, etc.
 

jbd2 is a kernel thread that updates the filesystem journal.

 

References:

[1] Reduce firefox disk access https://gist.github.com/gagarine/5cf8f861abe0dd035b7af19e4f691cd8

[2] Monitoring disk activity(htop) https://askubuntu.com/questions/276669/how-to-monitor-disk-activity

Get create/birth date from files

$ stat wakeup.txt  #get the inode

$ df -h wakeup.txt #get device name sdxy

$ sudo debugfs -R 'stat <586205>' /dev/sda1

Output:

Inode: 586205   Type: regular    Mode:  0664   Flags: 0x80000
Generation: 1277687204    Version: 0x00000000:00000001
User:  1000   Group:  1000   Size: 31
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 8
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x615eed87:dba39c9c  -- Thu Oct  7 09:52:23 2021
atime: 0x64231159:334e6b48  -- Tue Mar 28 13:10:01 2023
mtime: 0x615eed87:dba39c9c  -- Thu Oct  7 09:52:23 2021
crtime: 0x615eed87:dba39c9c -- Thu Oct  7 09:52:23 2021
Size of extra inode fields: 32

 

References:

[1] https://www.linuxshelltips.com/find-file-creation-date/

[2] https://www.baeldung.com/linux/get-file-creation-date


 

Thursday, March 23, 2023

Jetson Nano and Tensorflow

 

 

https://developer.download.nvidia.com/compute/redist/jp/v44/tensorflow/

tensorflow 1.15.x to 2.3.x 

https://developer.download.nvidia.com/compute/redist/jp/v45/tensorflow/

tensorflow 1.15.x to 2.5.0 

https://developer.download.nvidia.com/compute/redist/jp/v46/tensorflow/

tensorflow 1.15.x to 2.6.2(requires of h5py==3.1.0 and it requires pkconfig)

https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/ 
tensorflow 2.7.x
 

Compatibility

tensorflow 2.5.0 requires numpy~=1.19.2

Under Python 3.6.9 (protobuf requires Python '>=3.7' but the running Python is 3.6.9)
 
 
Under Python 3.6.9 (protobuf requires Python '>=3.7' but the running Python is 3.6.9)

 
 
 
Change OS in Jetson
Download image and tool for write img 
https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write
 
dd if=/path/to/your/isofile of=/your/usb/disk bs=8M status=progress
  
 
 
 

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com