精华内容
下载资源
问答
  • 1 安装中遇到问题conda create --name pysot python=3.7 C:\Users\Administrator>conda create --name pysot python=3.7 WARNING: The conda.compat m...

    https://blog.csdn.net/menc15/article/details/71477949

    1 安装中遇到问题  conda create --name pysot python=3.7 

    C:\Users\Administrator>conda create --name pysot python=3.7
    WARNING: The conda.compat module is deprecated and will be removed in a future r
    elease.
    Collecting package metadata: done
    Solving environment: done
    
    
    ==> WARNING: A newer version of conda exists. <==
      current version: 4.6.11
      latest version: 4.6.14
    
    Please update conda by running
    
        $ conda update -n base -c defaults conda
    
    
    
    ## Package Plan ##
    
      environment location: G:\nk_deeplearning\Anaconda\envs\pysot
    
      added / updated specs:
        - python=3.7
    
    
    The following packages will be downloaded:
    
        package                    |            build
        ---------------------------|-----------------
        ca-certificates-2019.5.15  |                0         166 KB
        certifi-2019.6.16          |           py37_0         155 KB
        openssl-1.1.1c             |       he774522_1         5.7 MB
        pip-19.1.1                 |           py37_0         1.8 MB
        python-3.7.3               |       h8c8aaf0_1        17.8 MB
        setuptools-41.0.1          |           py37_0         680 KB
        sqlite-3.28.0              |       he774522_0         945 KB
        vs2015_runtime-14.15.26706 |       h3a45250_4         2.4 MB
        wheel-0.33.4               |           py37_0          57 KB
        ------------------------------------------------------------
                                               Total:        29.6 MB
    
    The following NEW packages will be INSTALLED:
    
      ca-certificates    pkgs/main/win-64::ca-certificates-2019.5.15-0
      certifi            pkgs/main/win-64::certifi-2019.6.16-py37_0
      openssl            pkgs/main/win-64::openssl-1.1.1c-he774522_1
      pip                pkgs/main/win-64::pip-19.1.1-py37_0
      python             pkgs/main/win-64::python-3.7.3-h8c8aaf0_1
      setuptools         pkgs/main/win-64::setuptools-41.0.1-py37_0
      sqlite             pkgs/main/win-64::sqlite-3.28.0-he774522_0
      vc                 pkgs/main/win-64::vc-14.1-h0510ff6_4
      vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.15.26706-h3a45250_4
      wheel              pkgs/main/win-64::wheel-0.33.4-py37_0
      wincertstore       pkgs/main/win-64::wincertstore-0.2-py37_0
    
    
    Proceed ([y]/n)? y
    
    
    Downloading and Extracting Packages
    setuptools-41.0.1    | 680 KB    | #################################### | 100%
    ca-certificates-2019 | 166 KB    | #################################### | 100%
    certifi-2019.6.16    | 155 KB    | #################################### | 100%
    openssl-1.1.1c       | 5.7 MB    | #################################### | 100%
    pip-19.1.1           | 1.8 MB    | ###7                                 |  10%
    vs2015_runtime-14.15 | 2.4 MB    | #################################### | 100%
    python-3.7.3         | 17.8 MB   | ##############8                      |  41%
    
    
    
    

    中间网络错误;

    重复指令即可:
    conda create --name pysot python=3.7

    巨慢~

     

    2 指令说明

    环境:Win7  64bit with conda 4.6.11   指令:conda list
    以下命令均在windows命令行中输入。
    一般来讲,无论是在Linux,OS X还是在windows系统中,在命令行窗口中输入的conda命令基本是一致的,除非有特别标注。

    0.获取版本号

    conda --version
    conda -V

    1. 获取帮助

    conda --help
    conda -h

    查看某一命令的帮助,如update命令及remove命令

    conda update --help
    conda remove --help
    • 同理,以上命令中的--help也可以换成-h

    2.环境管理

    查看环境管理的全部命令帮助

    conda env -h

    1 创建环境

    conda create --name your_env_name

    conda create --name your_env_name
    输入y确认创建。

    2 创建制定python版本的环境

    conda create --name your_env_name python=2.7
    conda create --name your_env_name python=3
    conda create --name your_env_name python=3.5

    conda create --name your_env_name python=2.7

    2 创建包含某些包的环境
     

    conda create --name your_env_name numpy scipy

    conda create --name your_env_name numpy scipy

    2 创建指定python版本下包含某些包的环境

    conda create --name your_env_name python=3.5 numpy scipy

    conda create --name your_env_name python=3.5 numpy scipy

    3 列举当前所有环境

    conda info --envs
    conda env list

    conda info --envs
    conda env list

    4 进入某个环境

    source activate your_env_name

    source  activate your_env_name

    注意:(要加source 来激活环境才有效果要加source)
    这里需要写成

    source activate your_env_name

    eg: conda env list

    eg: source activate base


    (base)表示当前进入的环境

    5退出当前环境

    source deactivate 
    注意:

    如果不加source 是不行的source deactivate 

    PS:如果激活失败可以参考这个博客:https://blog.csdn.net/qq_33825817/article/details/88959785

    报错如下:

    zsq@localhost ~]$ conda activate python36

    CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
    To initialize your shell, run

        $ conda init <SHELL_NAME>

    Currently supported shells are:
      - bash
      - fish
      - tcsh
      - xonsh
      - zsh
      - powershell

    See 'conda init --help' for more information and options.

    IMPORTANT: You may need to close and restart your shell after running 'conda init'.
     

    1 我觉得很有可能是是上次conda activate xxx命令激活环境后,
    未使用conda deactivate退出环境就关闭终端导致的。

    2 发现这个问题后,解决思路就比较明显了,重新激活一下环境就好了,具体操作如下:

    # 重新进入虚拟环境
    source activate
     # 重新退出虚拟环境
    source deactivate


    最后,重新执行conda activate env_py36 没有报错,成功进入该虚拟环境
     

    6 复制某个环境

    conda create --name new_env_name --clone old_env_name 

    conda create --name new_env_name --clone old_env_name
                                         创建的新环境名    复制的旧环境名

    7 删除某个环境

    conda remove --name your_env_name --all

    conda remove --name your_env_name --all
     

    3 分享环境

    如果你想把你当前的环境配置与别人分享,
    这样ta可以快速建立一个与你一模一样的环境(同一个版本的python及各种包)来共同开发/进行新的实验。
    一个分享环境的快速方法就是给ta一个你的环境的.yml文件

    1 首先通过activate target_env要分享的环境target_env

    首先,先激活, 通过

    source activate target_env

    2 然后输入下面的命令会在当前工作目录下生成一个environment.yml文件,

    conda env export > environment.yml

    3 小伙伴拿到 environment.yml 文件后,
    将该文件放在工作目录下
    可以通过以下命令从该文件创建环境

    conda env create -f environment.yml
    

    conda env create -f environment.yml

    .yml是这个样子的 

    è¿éåå¾çæè¿°

    当然,你也可以手写一个 .yml 文件用来描述或记录你的python环境。

    4 包管理

    1 列举当前活跃环境下的所有包

    conda list

    conda list

    2 列举一个非当前活跃环境下的所有包(应该是制定哪个环境的名字就是哪个环境)

    conda list -n your_env_name

    conda list -n your_env_name

    3 为指定环境安装某个包

    conda install -n env_name package_name

    conda install -n env_name package_name
           环境名  包的名字

    如果不能通过conda install来安装
    文档中提到可以从Anaconda.org安装,
    但我觉得会更习惯用pip直接安装
    pip在Anaconda中已安装好,
    不需要单独为每个环境安装pip。
    如需要用pip管理包,activate环境后直接使用即可。
     

     

     

     

     

     

    展开全文
  • yourname.py

    2018-02-05 10:46:49
    name = '' while name != 'your name': print('Please type your name.') name = input() print('Thank you!')
    name = ''
    while name != 'your name':
    print('Please type your name.')
    name = input()
    print('Thank you!')
    展开全文
  • 有时候通过git push命令时会提示不成功,错误提示如下: $ git push fatal: The upstream branch of your current ...the name of your current branch. To push to the upstream branch on the remote, use gi...

    有时候通过git push命令时会提示不成功,错误提示如下:

    $ git push
    fatal: The upstream branch of your current branch does not match
    the name of your current branch.  To push to the upstream branch
    on the remote, use
    
        git push origin HEAD:develop
    
    To push to the branch of the same name on the remote, use
    
        git push origin dev/ft/gdsexchange
    
    To choose either option permanently, see push.default in 'git help config'.
    

    根本原因在于本地分支dev/ft/gdsexchange是从远程分支develop拉取的,在执行git push命令时,不知道应该与远程哪个分支进行同步,就会出现上面那个错误


    解决办法有2个: 
    1. 采取给出的建议

    git push origin dev/ft/gdsexchange


    2. 可以重新指定与远程同名的分支(推荐这种方式,执行之后以后就可以git push了) 

    git push -u origin dev/ft/gdsexchange

     

    展开全文
  • How to Choose a Name for Your Podcast person working on choosing a name for their podcast on a laptop Sigh. Why are titles so hard? Believe it or not, some would-be podcasters spend weeks or even mont...

    How to Choose a Name for Your Podcast
    person working on choosing a name for their podcast on a laptop

    Sigh. Why are titles so hard?

    Believe it or not, some would-be podcasters spend weeks or even months considering their podcast name.

    In fact, as a result of getting hung up on what to call it, some have not yet recorded a single episode. Can you relate?

    You know you have great content, ideas, and topics. You know you’re going to build a devoted audience who can’t wait to hear your next episode.

    But before you can do that, you have to somehow sum all of your great content ideas and themes into one short name for your podcast!

    And to have any hope of being successful, your podcast name has to be enticing, informative, and recognizable. Yikes!

    It may sound like a tall order, but the good news is it’s certainly not impossible. To help you out, read these tips and ideas to discover the right name for your podcast.
    Get Clear

    Take out a pen and paper, or open up a blank doc on your computer, and get crystal clear about what your podcast is about. Start by writing down everything that comes to mind about your podcast: Ask yourself who you’re serving, what you will be talking about, why you care about the topic, what further directions your podcast can take, and more.

    Then whittle all of that down, and down — and down again — until you have a nice, brief description of your podcast. Think elevator pitch, but even shorter.

    During this exercise, you’ll see certain words and themes emerge. You’ll see your potential audience more clearly. And when you’re clear, you’ll have an easier time summing everything up into a catchy title.

    Pro tip: Have your ideal listener in mind as you ponder your podcast name.

    In our post about things to consider before starting a podcast, we discussed creating an ideal listener avatar, and this is sometimes all you need to make critical decisions (such as picking a name) related to your show. If a decision wouldn’t make sense to your ideal listener, you can move on and pick another choice much faster.
    Include Your Content in Your Podcast Name

    Choose a name that reflects the content of your podcast. That way, potential listeners will instantly know if they’re in the right place or not. If your podcast is about pet sitting, it’s probably not a good idea to choose a podcast name about the beach.

    Let’s say your podcast is all about coloring your hair. A show title like I Just Dyed would make perfect sense because it tells the listener that it’s about dye.

    Or maybe your show is all about cooking Korean food. Your title could be something like Al’s Korean Dish. This tells the listener the host’s name is Al, and that he’ll be talking about Korean food.

    When you consider the keywords of your content, the possibilities for a name are endless.
    What Makes You Different?

    People are already talking about your topic, but that’s okay. You have a different angle, unique personality, and your own ideas.

    Even if your topic overlaps with other podcasts, there’s something different about you and your podcast. And you can include that difference in your podcast name, so that people will instantly know what you’re about.

    For example, if your podcast is about parenting, what angle do you take that is different from other parenting podcasts? Maybe you’re specifically interested in talking about sleeping through the night, the toddler years, discipline, or parenting teens. Can you incorporate your unique element into your podcast name?
    A quick word on title length

    It’s important to choose a name that isn’t too long. According to Pacific Content who has analyzed the metadata from more than 650,000 podcasts, “Half of all podcast titles are between 14 and 29 characters,” and “The most popular title length is 16 characters.”

    It’s important to note that this information is related to podcast titles only, not episode titles.

    The big reason you don’t want a title that is too long, is that you want it to be easy for your audience to remember and easy for potential listeners to search for online. You also should be aware that the longer your title is, the more it will be clipped on platforms like iTunes.

    Titles for podcast names (again, not episode titles) on iTunes are clipped after approximately 30 characters.
    Use Your Name

    If you already have a large audience before you start your podcast, your name is likely well known. In these situations, using your name as your podcast title might be a good idea. Your fans will know you from your other platforms, and will specifically search for your podcast by your name. Or if they’re browsing, they’ll instantly recognize your podcast name.

    However, if you’re starting from scratch, or from a very small audience, using your name as your podcast name may not help you grow. People won’t instantly know you, and they won’t know what your podcast is about.
    Consider the long term impact of using your name

    Now for a quick word of caution from Neil Patel. When you use your name as your podcast’s name, your show is tied to you. If your show begins to gain a large following and become successful, you can’t exactly sell the show because you are the face of it.

    While you can bring on additional team members, you will be the star. Even having a cohost can be a branding nightmare when the show is named after you. Whereas if you use a generic name, you have a lot more flexibility in the event the show skyrockets to fame.

    Neil regrets building a personal brand some days. He said, “If I took all of the time I spent building a personal brand into building a corporate brand, I would have been worth a lot more money.” He went onto say, “if you want to build something big, something that will continually live and move on without you, then focus on building a corporate brand.”
    Check for Domain Availability

    Many podcasters want to own the domain associated with their podcast name. While you don’t necessarily need to use the domain to create a website, owning it is a good idea to ensure no one else can grab it.

    What if the domain is not available for purchase?

    In truth, you might want to consider choosing another name for your podcast. This is especially important if someone has a website built with that domain name as you could be sued for copyright infringement for using the name as your podcast title. On the other hand, you may want to seek the counsel of an attorney in this case because we’re not lawyers, and we can’t give firm legal advice. (Yes, our lawyers made us add this disclaimer!)
    Consider Your Company Name

    Some podcasts are built with the intention of growing brand awareness for online and brick and mortar businesses that are already set up. If this is the case for your podcast, it might be a good idea to use your company name as your podcast name.

    For example, NASA produces several podcasts with the name NASA in the podcast title. Even gaming company Nintendo has gotten in the podcasting game with their Nintendo Power Podcast.
    Get a Little Help Online

    Already have fans on social media, via blogging, on YouTube, etc…? Ask for their input. What name would they suggest? Take it a step further and host a naming contest for your show. The winner could get bragging rights or even a prize package that you put together.

    Nothing gets people excited about offering their opinion quite like a contest. Lays flavor contest anyone? The brand had hundreds of thousands of submissions, got a lot of press, massively increased brand awareness, and the winner received a million dollars.

    You don’t have to choose a podcast name from your fans’ suggestions, but you’ll likely get plenty of ideas to spark your own thoughts. Plus, you’ll get a clearer picture of what your fans expect from you, and that’s always helpful!

    In the event you’re still stuck, how about using a podcast name generator? Enter your podcast details into the query, and the generator will give you dozens of suggestions. While you might feel the ideas it generates are terrible, it could be just what you need to get the creative juices flowing.
    Do Your Homework

    Even if the domain name is available, before settling on a podcast name, check to make sure it isn’t already taken anywhere else. Namecheckr is a great resource you can use that searches domains and social usernames across multiple networks. You can also Google the name and search in Apple Podcasts and Spotify.
    Finally, rest easy knowing your name isn’t set in stone

    If this is all overwhelming, take a deep breath. The good news is, whatever name you choose can always be changed sometime down the road if needed. Just like you can change the legal name given to you at birth, nothing is set in stone.

    Of course, starting out with the right name is always best, but don’t let yourself get too stressed out to the point you never launch your podcast. Take your time, do some deep thinking, and choose a podcast name that works for you and your audience.

    展开全文
  • Please Enter your name

    千次阅读 2012-07-31 23:29:13
    #include "stdafx.h" #include "windows.h" #include "iostream" #include "stdlib.h" #include "climits" using namespace std; int main(int argc, char* argv[]) ... char name[101]; char nam1[101]; cout<<"
  • 问题原因: 问题的原因是在分支创建时,使用了与远程不一致的分支名 例如远程分支是 feature/...所以导致git push时报错fatal: The upstream branch of your current branch does not match the name of your current
  • codechef+Your Name is Mine

    2013-05-05 14:12:33
    Your Name is Mine Problem code: NAME2 SubmitMy SubmissionsAll Submissions   In an attempt to control the rise in population, Archer was asked to come up with a plan. This time he is
  • Commit failed - exit code 128 received, with output: '*** Please tell me who you are.Run git config --global user.email &amp;quot;...amp;...Your Name&amp;quot;to set your account
  • 英语里也有对应的说法,就是Your name is mud. Mud是稀泥等没价值的东西。如果一个人的名字和mud等同,可想而知,这人是名誉扫地了。这也许就是your name is mud这个习惯用语的含义所在。但是关于这个习惯用语的来历...
  • 本人使用 smartGit 进行代码管理 clone 资源仓库代码后,正常的同步操作不受影响,但是提交却一直不能提交成功。 经过摸索,解决了问题...can't commit because your name or email address is not configured ---.
  • 在pull代码后,想进行checkout,merge的时候出现如下错误: ... Run git config --global user.email "you@example.com" git config --global user.nameYour Name” to set your account’s default identity....
  • Your app name to be displayed on the App Store includes keywords or descriptors, which are not appropriate for use in an app name.  Specifically, the following words in your app name are ...
  • Grammar focus 语法点 ...What's your name? What's his name? What her name? My name is Angela. His name is Kevin. Her name is Julia. Practice 练习 Read and circle your his her ...
  • Solved Visual studio Code make sure you configure your user.name and user.email in git Terminal 输入: git config --global user.email “you@example.com” git config --global user.nameYour Name
  • /* 输入三个字符串,允许有空格,...what your name my name is ABC name is worthless 输出 name */  #include"stdio.h" #include"string.h" int main() { char str1[30],str2[30],str3[30]; pri
  • [ERROR]-[Thread:http-apr-8007-exec-2]-[com.jfinal.core.ActionHandle.handle()]:/main/getbyname
  • ci框架 表单验证错误 Unable to access an error message corresponding to your field name $this->form_validation->set_message('check_captcha', 'text dont match captcha'); check_captcha 为回调函数 的...
  • The type name or alias SqlServer could not be resolved.Please check your configuration file。。。。 检查一下Config文件中包含的dll再dubug文件夹中是否存在 转载于:...
  • Your app must be published under a seller name and company name that reflects the XXXXX brand. If you have developed these apps on behalf of a client, please advise your client to add you to the ...
  • Linux [root@bogon]怎么改成[root@yourname]

    千次阅读 2011-07-21 04:05:34
    一:使用hostname命令  [root@bogon ~]# hostname yourname 这样只是临时更改了主机名。 二:修改linux主机的配置文件/etc/sysconfig/network 和 /etc/hosts 1.修改/etc/sysco
  • 1、Can't set long node name!\nPlease check your configuration 昨天忙了一晚上,最后确定的还是hosts问题,这次不是少配置了,而是多配置了hosts。 192.168.0.223 client-3.langxwlabdns.com client-3 ...
  • PriviledgedActionException as:crabman (auth:SIMPLE) cause:java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server address
  • Android 对data/data/(your packagename)目录下的数据读写、删除操作
  • 打开创建的git文件夹,找到里面的config文件,打开之后在最后一句加上: [user] email=Your email name=Your Name 记住建立好Git文件之后的第一步就要进行默认身份的设置,如果在执行上面的代码还报错的话,那就...
  • 从GitHub上下来过的项目,导入到Android Studio中,有时候会出现一直停留在building "your project name" gradle project info的时候,那是因为项目中配置的gradle版本跟你本地的版本不一致的缘故。 需要做如下修改...
  • Choose a unique app name, assign keywords that accurately describe your app, and don’t try to pack any of your metadata with trademarked terms, popular app names, or other irrelevant phrases just to ...
  • 嘛,学英语 有英语名字,日语也有 http://rumandmonkey.com/widgets/toys/namegen/969要用名字的拼音,不然测不准。 记得要选性别哦~~ 我的结果:
  • github在统计提交的时候,会判断邮箱是否跟github的登陆邮箱匹配,不匹配则不计算活跃度,即不生成小绿块。...git config user.name yourName 设置全局user.name/user.email git config --global use.
  • 文件名不可以是random ,重命名即可 ...Name your file something else. In Python a script is a module, whose name is determined by the filename. So when you start out your file random.py with impor...
  • 打包报错: ERROR ITMS-90329: "Your package contains a file '光合同城o2o .app/光合同城o2o ' with a name that contains leading or trailing whitespace characters".

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 122,875
精华内容 49,150
关键字:

nameyour