参考:http://www.bubuko.com/infodetail-2989731.html?__cf_chl_jschl_tk__=2c606fdbd7632d4f2cdc47b6148acc8d1d632127-1585880193-0-AVFTXsf2EJuIUO9nhxBZKENYYQL ...
分类:
其他好文 时间:
2020-04-03 12:16:20
阅读次数:
86
Ansible User 模块添加单用户并ssh-key复制 1 Ansible 版本: ansible 2.9.6 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/pl ...
分类:
其他好文 时间:
2020-04-02 18:01:20
阅读次数:
73
错误日志 ... ... Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-04-02 12:52:47.306 ...
分类:
编程语言 时间:
2020-04-02 13:06:03
阅读次数:
140
这行报错predict = model(Variable(x_train)) RuntimeError: Expected object of type torch.cuda.FloatTensor but found type torch.FloatTensor for argument #4 ' ...
分类:
其他好文 时间:
2020-04-02 01:07:38
阅读次数:
188
1. Push to origin/master was rejected 解决:git pull origin master --allow-unrelated-histories 2. Can't Update No tracked branch configured for branch ma ...
分类:
其他好文 时间:
2020-03-30 23:27:03
阅读次数:
62
写了一天代码,提交时报错。拉取也不行 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To make your branch track a remote branch ...
分类:
其他好文 时间:
2020-03-27 21:46:09
阅读次数:
716
报错如图: 报错原因说我,未配置DjangoTemplates后端,去看了下我后端模板配成jinja2的模板了。 如图: 解决:改为django模板就好了 如图: ...
分类:
其他好文 时间:
2020-03-26 23:10:17
阅读次数:
101
includes() 方法用来判断一个数组是否包含一个指定的值,根据情况,如果包含则返回 true,否则返回false。 const array1 = [1, 2, 3]; console.log(array1.includes(2));// expected output: true const ...
分类:
其他好文 时间:
2020-03-24 18:43:27
阅读次数:
53
解决办法: 不修改原有引擎配置,新增引擎jinja2, 即在settings.py中 TEMPLATES = [ { 'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [os.path.join(BASE_DIR,'templa ...
分类:
移动开发 时间:
2020-03-24 15:47:21
阅读次数:
159
昨天还能正常运行,今天打开安卓,发现项目编译失败,还以为是自己的代码有错误啊,后来上网一查才发现这是常见错误,直接build->clean project 就可以解决了。 重新编译之后就会发现问题已经成功解决。 Expected BEGIN_ARRAY but was STRING at line ...
分类:
移动开发 时间:
2020-03-23 09:46:36
阅读次数:
161