テスト
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
| [ 0.000000] Linux version 6.8.0-51-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 (Ubuntu 6.8.0-51.52-generic 6.8.12) | |
| [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-51-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro | |
| [ 0.000000] KERNEL supported cpus: | |
| [ 0.000000] Intel GenuineIntel | |
| [ 0.000000] AMD AuthenticAMD | |
| [ 0.000000] Hygon HygonGenuine | |
| [ 0.000000] Centaur CentaurHauls | |
| [ 0.000000] zhaoxin Shanghai | |
| [ 0.000000] x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks | |
| [ 0.000000] BIOS-provided physical RAM map: |
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
| <html> | |
| <head> | |
| <title>vosk test</title> | |
| <script type="application/javascript" src="https://cdn.jsdelivr.net/npm/vosk-browser@0.0.3/dist/vosk.js"></script> | |
| <script> | |
| // | |
| let model = null | |
| // 初期化処理 | |
| async function init() { |
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
| import { Form, Select } from 'antd'; | |
| import React from 'react'; | |
| import Webcam from 'react-webcam'; | |
| interface ExtendedHTMLVideoElement extends HTMLVideoElement { | |
| requestVideoFrameCallback(callback: () => void): number | |
| } | |
| const App = () => { | |
| const [deviceId, setDeviceId] = React.useState("") |
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
| ARG PYTORCH="1.5" | |
| ARG CUDA="10.1" | |
| ARG CUDNN="7" | |
| FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel | |
| ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX" | |
| ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all" | |
| ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" |
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
| import sys | |
| import time | |
| import cv2 | |
| import numpy as np | |
| ### VALUES | |
| NUM_REPEAT = 10000 | |
| ### Read source image | |
| # img_src = cv2.imread("lena.jpg") |
This file has been truncated, but you can view the full file.
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
| 0:00:00.000063000 30316 0000012716A4C000 INFO GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.16.2 | |
| 0:00:00.001554000 30316 0000012716A4C000 INFO GST_INIT gst.c:587:init_pre: Using library installed in e:\gstreamer\1.0\x86_64\lib | |
| 0:00:00.003094000 30316 0000012716A4C000 DEBUG GST_MEMORY gstallocator.c:589:_priv_gst_allocator_initialize: memory alignment: 7 | |
| 0:00:00.004543000 30316 0000012716A4C000 DEBUG GST_MEMORY gstallocator.c:565:gst_allocator_sysmem_init: init allocator 0000012716A4F010 | |
| 0:00:00.005993000 30316 0000012716A4C000 DEBUG GST_MEMORY gstallocator.c:207:gst_allocator_register: registering allocator 0000012716A4F010 with name "SystemMemory" | |
| 0:00:00.007708000 30316 0000012716A4C000 INFO GST_INIT gstmessage.c:128:_priv_gst_message_initialize: init messages | |
| 0:00:00.008124000 30316 0000012716A4C000 DEBUG GST_ELEMENT_PADS gstelement.c:302:gst_element_base_class_init: type GstElement : factory |
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
| from enum import Enum | |
| class NMSType(Enum): | |
| PY_NMS = 1 | |
| CPU_NMS = 2 | |
| GPU_NMS = 3 | |
| default_nms_type = NMSType.PY_NMS |
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
| #!/usr/bin/python | |
| # -*- encoding: utf-8 -*- | |
| from logger import setup_logger | |
| from model import BiSeNet | |
| import torch | |
| import os | |
| import os.path as osp |
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
| [[source]] | |
| name = "pypi" | |
| url = "https://pypi.org/simple" | |
| verify_ssl = true | |
| [dev-packages] | |
| black = "*" | |
| [packages] | |
| pyzmq = "*" |
NewerOlder