- 博客(4)
- 收藏
- 关注
原创 linux mint 19 YOLO V3 with OPENCV and CUDA 9.0 安装
1.安装CUDA 9.02018.07.29:已经有9.2版本但是暂时不建议安装通过runfile安装官方下载地址:https://developer.nvidia.com/cuda-90-download-archive按如下选择,把安装包和补丁包都下了检查显卡驱动版本打开Driver Manager,选择NVIDIA的驱动我的驱动是装系统的时候自动就装好了,版本...
2018-07-29 09:39:28
633
翻译 如何在django中实现多用户类型
原文地址:https://simpleisbetterthancomplex.com/tutorial/2018/01/18/how-to-implement-multiple-user-types-with-django.html规则:1.即使有多个用户类型,也尽量用一个model来进行登录验证.比如有teacher和student两个用户类型,建模的时候,用于登录验证的model应
2018-01-21 22:48:21
4332
原创 django中子app的创建
django项目越来越大,需要按照模块进行拆分.包括model,view,admin,urls的拆分,首先想到的是创建一个子文件夹.这样出现的问题就是makemigrations的时候,在子文件夹中的models并不会被detect到.然后想到了用子app来管理.创建子app:cd appdjango-admin startapp subapp然后添加到settingsINST
2018-01-07 19:27:21
700
翻译 angular2 引用页面元素@ViewChild和ElementRef
import { Component, ViewChild, ElementRef } from '@angular/core'@Component({ selector: 'home', template: ` Test `})export class HomeComponent{ @ViewChild('testElem') el:El
2018-01-05 15:56:51
2647
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人