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

[!] 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...