라벨이 error인 게시물 표시

detectron compile error

  ## detectron compile conda create -n gtext2 python==3.8 conda activate gtext2 pip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu117 pip install opencv-python scipy timm shapely albumentations Polygon3 python -m pip install 'git+https://github.com/facebookresearch/detectron2.git' rm -rf build/ **/*.so python setup.py build develop cd gtextdetect/ sudo apt install gcc-10 g++-10 nvcc --version conda install -c "nvidia/label/cuda-11.7.0" cuda-toolkit nvcc --version python setup.py build develop python demo/demo.py --config-file ./configs/DPText_DETR/TotalText/R_50_poly.yaml --input /data/camera1/2023/202307/20230705/5 --output /home/gnoti/gtextdetect/output/test ## detectron2 error (base) min@min-MS-7C94:~/python/dptext-detr$ conda create --name textfusenet python=3.7.3 -y Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodat

1 duplicate symbol for architecture arm64

이미지
  ## fix error (1 duplicate symbol for architecture arm64) xcode - targets(runner) - build settings    enable testibilty -> no   no common blocks -> no

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL

 ## fix error (base) sungmin@sungminyunui-MacBookPro ios % pod install Analyzing dependencies firebase_analytics: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_auth: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_core: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_messaging: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_remote_config: Using Firebase SDK version '8.11.0' defined in 'firebase_core' [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL (base) sungmin@sungminyunui-MacBookPro ios % pod repo remove trunk     Removing spec repo `trunk` (base) sungmin@sungminyunui-MacBookPro ios % pod install --repo-update Updating local specs repositories   $ /usr/local/bin/git -C /Users/sungmin/.cocoapods/repos/cocoapo

ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at

 ## fix error (base) sungmin@sungminyunui-MacBookPro ios % gem install --user-install ffi -- --enable-libffi-alloc WARNING:  You don't have /Users/sungmin/.gem/ruby/2.6.0/bin in your PATH,           gem executables will not run. Building native extensions with: '--enable-libffi-alloc' This could take a while... Successfully installed ffi-1.15.5 Parsing documentation for ffi-1.15.5 Done installing documentation for ffi after 3 seconds 1 gem installed (base) sungmin@sungminyunui-MacBookPro ios % flutter build ios Changing current working directory to: /Users/sungmin/Downloads/Android/gabang2022/gabang The plugins `apple_sign_in, flutter_webview_plugin, system_alert_window` use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs. If you are plugin author, ta

Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: on vscode

 ## fix error (base) min@min-MS-7C94:~/.mozilla/firefox$ rm -rf ~/.config/Code/Cache

Fix "firefox is already running" error in Linux

## fix error (base) min@min-MS-7C94:~/.mozilla/firefox$ pidof firefox 741821 (base) min@min-MS-7C94:~/.mozilla/firefox$ kill -9 741821 kill $(pidof firefox)  

kubeadm init error

## kubeadm init error [root@k8s-master min]# sudo kubeadm init --pod-network-cidr=10.224.0.0/16 [init] Using Kubernetes version: v1.25.0 [preflight] Running pre-flight checks error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: E0825 18:33:00.899302 10491 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" time="2022-08-25T18:33:00+09:00" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" , error: exit status 1 [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` To see the stack trace of this error execute with --v=5 or higher ## fix error [root@k8s-master min]# sudo rm /etc/containerd/config.toml [root@k8s-master min]# sudo

RuntimeError: CUDA error: no kernel image is available for execution on the device

이미지
  ## pytorch remove pip uninstall torch Found existing installation: torch 1.9.0 Uninstalling torch-1.9.0: Would remove: /home/min/anaconda3/envs/easy/lib/python3.8/site-packages/caffe2/proto/caffe2_legacy_pb2.py /home/min/anaconda3/envs/easy/lib/python3.8/site-packages/caffe2/proto/hsm_pb2.py /home/min/anaconda3/envs/easy/lib/python3.8/site-packages/caffe2/proto/metanet_pb2.py      check torch  version   ## pytroch install https://pytorch.org/get-started/previous-versions/ ## pytorch reinstall (easy) [min@ai deep-text-recognition-benchmark]$ conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.10.3 latest version: 4.13.0 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: /ho

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

## python error (a1) [root@localhost Autonomous-Vehicle-Environment-Perception]# python main.py --video test.mov Yolo model loaded! CULane model loaded! Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /root/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth 100%|████████████████████████████████████████████████████████████████████████████████████| 44.7M/44.7M [00:00<00:00, 70.5MB/s] SGD model loaded! Sign Detection model loaded! resize False rotate False Traceback (most recent call last): File "main.py", line 101, in <module> yoloOutput = detector.detect(frame) File "/root/yolo/Autonomous-Vehicle-Environment-Perception/elements/yolo.py", line 46, in detect pred = self.yolo_model(img, augment=False)[0] File "/root/anaconda3/envs/a1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl return forward_call(*input, **kwargs) File "/root/yolo/Autonomous-Vehicle