原创 Ubuntu sudo 安裝報錯 (Could not get lock /var/lib/dpkg/lock-frontend)

Could not get lock /var/lib/dpkg/lock-frontend – open (11: Resource temporarily unavailable)E: Unable to acquire th

原创 配置tmux鼠標操作

在Terminal輸入vi ~/.tmux.conf創建一個配置文件, 並在文件中輸入set -g mouse on並保存. 隨後在Terminal中輸入tmux進入tmux模式, 進入後按Ctrl+b+:, 此時tmux底部會變

原创 pip 恢復默認源

進入pip配置文件夾 cd ~/.config/pip 打開pip.conf 將裏面的內容刪掉或者用#註釋掉 點贊 2 收藏 分享 文章舉報 2Young2Simple

原创 Paper概括:On the use of Deep Learning for Image Quality Assessment

Paper概括:On the use of Deep Learning for Image Quality Assessment 1. Introduction: ​ 介紹了數碼圖像可能因光照,噪點,鏡頭等原因產生圖片質量低下的

原创 Ubuntu下查看CUDA和CUDNN版本的方法

cuda 版本 cat /usr/local/cuda/version.txt cudnn 版本 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2 這個結果就表示

原创 ubuntu統計某文件夾下文件的個數

統計某文件夾下文件的個數 ls -l |grep “^-”|wc -l 統計某文件夾下目錄的個數 ls -l |grep “^d”|wc -l 統計文件夾下文件的個數,包括子文件夾裏的 ls -lR|grep “^-”|wc -l 如

原创 新手的Pytorch入門筆記(一)

新手的Pytorch入門筆記(一)pytorch的安裝 因爲工作原因,最近開始學習PyTorch,在次記錄一下自己學習的一些心得以及學習中遇到的一些坑,一方面是給大家提供一個參考,另一方面也是爲了方便自己日後查閱。 pytorch的安

原创 ubuntu下更改默認python版本

輸入 vi ~/.bashrc 如果要將默認改爲python2在底下添加 alias python='/usr/bin/python2' 要改爲python3就加 alias python='/usr/bin/python3'

原创 Lintcode 134. LRU Cache (Medium) (Python)

LRU Cache Description: Design and implement a data structure for Least Recently Used (LRU) cache. It should support t

原创 Lintcode 131. The Skyline Problem (Super Hard) (Python) (未完成)

The Skyline Problem Description: Given N buildings in a x-axis,each building is a rectangle and can be represented by

原创 Lintcode 86. Binary Search Tree Iterator (Hard) (Python)

Binary Search Tree Iterator Description: Design an iterator over a binary search tree with the following rules: Eleme

原创 Lintcode 1076. Minimum ASCII Delete Sum for Two Strings (Python) (Medium)

Minimum ASCII Delete Sum for Two Strings Description: Given two strings s1, s2, find the lowest ASCII sum of deleted

原创 Lintcode 54. String to Integer (atoi) (Medium) (Python).md

String to Integer (atoi) Description: Implement function atoi to convert a string to an integer. If no valid conversi

原创 Lintcode 65. Median of two Sorted Arrays (Hard) (Python)

Median of two Sorted Arrays Description: There are two sorted arrays A and B of size m and n respectively. Find the m

原创 Windows系統下顯卡挖零幣(ZEC)的方法

閒置的電腦資源總歸有些浪費,不如拿去挖礦賺點小錢。Windows系統下挖ZEC幣其實十分簡單,只需要完成以下幾件事: 1.註冊一個錢包,用來存放挖出來的幣 2.下載挖礦軟件 3.選擇礦池,並綁定你的錢包 4.可以開始挖礦啦 以下是具體