2023의 게시물 표시

pod install error

 ## cocoapods error  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 ios % pod repo update [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL  ## fix cocoapods error  ios % pod repo remove trunk Removing spec repo `trunk` (base) sungmin@sungminyunui-MacBookPro ios % pod

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

kill zombi session on linux

   ## kill zombi session on linux [root@localhost ~]# killall -u min

Limiting network traffic on linux

이미지
  ## set limit [root@localhost ~]# tc qdisc add dev ens32 root tbf rate 200kbit burst 16kbit latency 50ms  ## reset limit [root@localhost ~]# ifdown ens32 [root@localhost ~]# ifup ens32

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

vscode remote ssh with out password

이미지
 ## set up local SSH key pair  ## copy ssh key to server [root@localhost vue-element-admin]# vi ~/.ssh/authorized_keys [root@localhost vue-element-admin]# systemctl restart sshd  ## set config file