forge

[转] conda安装torch出现链接错误

旧时模样 提交于 2020-04-26 14:59:07
使用清华镜像,具体方法如下: from https://blog.csdn.net/ada0915/article/details/78529877 问题:conda无法安装更新,报错内容如下: 参考链接:conda httperror http none none for url none Anaconda更新失败 conda create -n tensorflow python=3.5 Fetching package metadata ....... CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://nanomirrors.tuna.tsinghua.edu.cn/anaconda/cloud/linux-64/rpodata.json> Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='nanomirrors.tuna.tsinghua.edu.cn

深度学习(六十七)metal forge深度学习库使用

末鹿安然 提交于 2020-04-24 13:38:15
1、设置输入: let input = Input () 或者 let input = Input ( width : 100 , height : 100 , channels : 3 ) 2、创建网络: let output = input --> Resize ( width : 28 , height : 28 ) --> Convolution ( kernel : ( 5 , 5 ), channels : 20 , activation : relu, name : " conv1 " ) --> Dense ( neurons : 10 , name : " dense1 " ) --> Softmax () 3、链接网络、加载参数 model = Model ( input : input, output : output) let success = model. compile ( device : device, inflightBuffers : 3 ) { name, count, type in return ParameterLoaderBundle ( name : name, count : count, suffix : type == . weights ? " _W " : " _b " , ext : " bin " ) } if

研发协同平台持续集成之Jenkins实践

こ雲淡風輕ζ 提交于 2020-04-23 14:57:04
#导读 研发协同平台有两个核心目标,一是提高研发效率 ,二是提高研发质量,要实现这两个核心目标,实现持续集成是关键之一。 #什么是持续集成 在《持续集成》一书中,对持续集成的定义如下:持续集成是一种软件开发实践。在持续集成中,团队成员频繁集成他们的工作成果,一般每人每天至少集成一次,也可以多次。每次集成会经过自动构建(包括自动测试)的检验,以尽快发现集成错误。自从在团队中引入这样的实践之后,Martin Fowler发现这种方法可以显著减少集成引起的问题,并可以加快团队合作软件开发的速度。 1、集成 集成就是一些孤立的事物或元素通过某种方式集中在一起,产生联系,从而构成一个有机整体的过程。知识经济的社会,集成已经成了很重要的一个名词。各行各业基本都会用到集成。比如汽车行业,那么复杂的一台跑车愣是通过一大堆零件组装起来。对于这些传统行业,它们在研发成功以后,可以通过流水线的方法批量生产进行集成。而在软件行业中,集成并不是一个简单的“搬箱子”的过程。因为软件工业是一个知识生产活动,其内在逻辑非常复杂,需求又很难一次性确定,完成的产品与最初的设计往往相差很远。敏捷宣言中就有一条是说响应变化重于遵循计划。而且由于软件行业的迅猛发展,软件变的越来越复杂,单靠个人是根本无法完成。大型软件为了重用及解耦,往往还需要分成好几个模块,这样集成就成了软件开发中不可或缺的一部分。 2、持续 “持续

Forge.min.js RSA encryption in C#

做~自己de王妃 提交于 2020-03-25 19:38:15
问题 I am trying to use Forge.min.js encryption method to encrypt one of my key, the encryption look like this in Javascript EncryptPassword: function (Password, exponent,modulus) { modulus = new forge.jsbn.BigInteger(modulus,16); exponent = new forge.jsbn.BigInteger(exponent, 16); var publicKey = forge.pki.setRsaPublicKey(modulus, exponent); return publicKey.encrypt(Password); } This is the function that i used in forge.min.js. My problem is that i cant load the js file in c# console, whenever i

Can't get SQLSRV PDO to connect to remote SQL Server

天大地大妈咪最大 提交于 2020-01-05 04:26:46
问题 The Exception "SQLSTATE[HYT00]: [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired" The Backstory Works : Have the MS SQLSRV PDO extension working on Windows 10 local dev environment, can connect to remote SQL server & do work. Fails : While can get MS SQLSRV PDO extension to install on staging, which is a vanilla Forge-deployed Ubuntu 16.04.3 x64 on DigitalOcean, running PHP 7.1.13 and NGINX 1.13.6 stagnig staging environment... Can't get it to connect to the

Composer hangs on “Resolving dependencies through SAT” on 4.2

你离开我真会死。 提交于 2020-01-02 01:05:12
问题 Things I've tried: Removing everything except for Laravel (version 4.2.*) - This completes but still hangs for around 5 minutes Updating composer Removing /vendor Doing clean Laravel 4.2 install (hangs around 3 minutes) Doing clean Laravel 5 install (doesn't hang at all) Turning off xdebug completely (doesn't seem to make a difference) With all my packages, I've seen composer complete but only when I left it running overnight. I can't deploy to forge at all because it times out! This only

Laravel Forge Quick Deploy throwing 500 error

倾然丶 夕夏残阳落幕 提交于 2019-12-24 11:50:42
问题 I've set up all configurations at Laravel Forge, and created new site connected to Bitbucket Git repository. When I click "Enable Quick Deploy" the button an error is thrown, whereas "Deploy Now" works well. https://forge.laravel.com/servers/{myserver}/sites/{mysite}/deploy 500 (Internal Server Error) I found out this link which has similar issue to me : https://laracasts.com/forum/?p=1676-laravel-forge-deploy-and-quick-deploy-not-working/0 Only one different thing is that mine happens to the

trigger.io - Can't create ipa-file anymore

二次信任 提交于 2019-12-24 03:12:42
问题 I usually use trigger.io to generate my ipa-Files for iOS. Now when I want to generate the file, I get the following error message: Failed when running /usr/bin/codesign: codesign_allocate: object: /Users/mherceg/Desktop/ag-app/development/ios/device-ios.app/Forge malformed object (unknown load command 39) /Users/mherceg/Desktop/ag-app/development/ios/device-ios.app: object file format unrecognized, invalid, or unsuitable It worked yesterday, but now it doesn't. Any help is very welcome.

Provisioning Profile and application Id do not match, why?

こ雲淡風輕ζ 提交于 2019-12-13 15:17:10
问题 When I run forge run ios , I get this: [ ERROR] Provisioning profile and application ID do not match Provisioning profile ID: G85A58Y2F3.io.trigger.forge4afef416b8a111e1910212313d1 adcbe Application ID: G85A58Y2F3.co.uk.nearbyapp.* Please see "Preparing your apps for app stores" in our docs: http://current-docs.trigger.io/releasing.html#ios My local config looks like this { "general": { },"ios": { "device": "device", "profiles": { "DEFAULT": { "provisioning_profile": "nearby.mobileprovision",

Autodesk Forge Extension

狂风中的少年 提交于 2019-12-11 17:37:09
问题 So I am following this tutorial to extend the autodesk forge viewer. I have compelted all of the steps and no button is showing, I assume this is due to an error with the loading. https://forge.autodesk.com/blog/extension-skeleton-toolbar-docking-panel I have also tried this tutorial, with the same issue: http://learnforge.autodesk.io/#/viewer/extensions/selection?id=conclusion My issue is I am not getting an error, the extension just isn't showing... does anyone know why? I'm assuming theres