This file contains hidden or 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
(base) validate@validatepc:~$ sudo tlp start | |
TLP started in battery mode. | |
(base) validate@validatepc:~$ sudo tlp-stat -s | |
--- TLP 1.2.2 -------------------------------------------- | |
+++ System Info | |
System = HUAWEI M1020 WRT-WX9 | |
BIOS = 1.19 | |
Release = Ubuntu 19.10 | |
Kernel = 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 |
This file contains hidden or 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
--- TLP 1.2.2 -------------------------------------------- | |
+++ Configured Settings: /etc/default/tlp | |
TLP_ENABLE=1 | |
TLP_DEFAULT_MODE=BAT | |
TLP_PERSISTENT_DEFAULT=0 | |
DISK_IDLE_SECS_ON_AC=0 | |
DISK_IDLE_SECS_ON_BAT=2 | |
MAX_LOST_WORK_SECS_ON_AC=60 | |
MAX_LOST_WORK_SECS_ON_BAT=15 |
This file contains hidden or 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
--- TLP 1.3.0-beta.2 -------------------------------------------- | |
+++ Configured Settings: | |
TLP_ENABLE="1" | |
TLP_PERSISTENT_DEFAULT="0" | |
DISK_IDLE_SECS_ON_AC="0" | |
DISK_IDLE_SECS_ON_BAT="2" | |
MAX_LOST_WORK_SECS_ON_AC="15" | |
MAX_LOST_WORK_SECS_ON_BAT="60" | |
CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
This file contains hidden or 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
--- TLP 1.3.0-beta.2 -------------------------------------------- | |
+++ Configured Settings: | |
TLP_ENABLE="1" | |
TLP_PERSISTENT_DEFAULT="0" | |
DISK_IDLE_SECS_ON_AC="0" | |
DISK_IDLE_SECS_ON_BAT="2" | |
MAX_LOST_WORK_SECS_ON_AC="15" | |
MAX_LOST_WORK_SECS_ON_BAT="60" | |
CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
This file contains hidden or 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
--- TLP 1.3.0-beta.2 -------------------------------------------- | |
-- Logs begin at Mon 2020-01-13 20:23:26 +03, end at Mon 2020-01-13 23:42:05 +03. -- | |
Jan 13 20:23:30 validatepc tlp[937]: Applying power save settings...done. | |
Jan 13 20:23:30 validatepc tlp[937]: Setting battery charge thresholds...done. | |
Jan 13 20:23:30 validatepc tlp[937]: Radio device states restored. | |
Jan 13 23:38:12 validatepc tlp[56535]: get_sys_power_supply(ADP1).ac_online: syspwr=0 | |
Jan 13 23:38:12 validatepc tlp[56534]: get_sys_power_supply(ADP1).ac_online: syspwr=0 | |
Jan 13 23:38:12 validatepc tlp[56534]: +++ auto (1.3.0-beta.2) ++++++++++++++++++++++++++++++++++++++++ | |
Jan 13 23:38:12 validatepc tlp[56535]: +++ auto (1.3.0-beta.2) ++++++++++++++++++++++++++++++++++++++++ |
This file contains hidden or 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
--- TLP 1.3.0-beta.2 -------------------------------------------- | |
+++ Configured Settings: | |
TLP_ENABLE="1" | |
TLP_PERSISTENT_DEFAULT="0" | |
DISK_IDLE_SECS_ON_AC="0" | |
DISK_IDLE_SECS_ON_BAT="2" | |
MAX_LOST_WORK_SECS_ON_AC="15" | |
MAX_LOST_WORK_SECS_ON_BAT="60" | |
CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
This file contains hidden or 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
[validate@validatepc ~]$ sudo tlp-stat | |
--- TLP 1.2.2 -------------------------------------------- | |
+++ Configured Settings: /etc/default/tlp | |
TLP_ENABLE=1 | |
TLP_DEFAULT_MODE=AC | |
TLP_PERSISTENT_DEFAULT=0 | |
DISK_IDLE_SECS_ON_AC=0 | |
DISK_IDLE_SECS_ON_BAT=2 | |
MAX_LOST_WORK_SECS_ON_AC=15 |
This file contains hidden or 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
--------------------------------------------------------------------------- | |
RuntimeError Traceback (most recent call last) | |
Cell In[6], line 6 | |
4 checkpoint_file = 'tmp/rtmdet_tiny_8xb32-300e_coco_20220902_112414-78e30dcc.pth' | |
5 model = init_detector(config_file, checkpoint_file, device=device) # or device='cuda:0' | |
----> 6 inference_detector(model, 'demo/demo.jpg') | |
File ~/.pyenv/versions/3.10.13/envs/mmdet-test-2-env/lib/python3.10/site-packages/mmdet/apis/inference.py:189, in inference_detector(model, imgs, test_pipeline, text_prompt, custom_entities) | |
187 # forward the model | |
188 with torch.no_grad(): |