串词是什么| 今年什么生肖年| 10是什么意思| 色泽是什么意思| 前壁后壁有什么区别| 生粉和淀粉有什么区别| 榆木脑袋是什么意思| 偶发性房性早搏是什么意思| 吃丹参有什么好处| 什么时候中秋节| 红油是什么油| 三点水加个真念什么| 没有力气是什么原因| 月子吃什么| 彪悍是什么意思| 养肝吃什么药| 细菌性阴道炎吃什么药好| 蚕蛹吃什么| 嫩黄的什么| 排骨炖什么菜好吃| 产厄是什么意思| 相恋纪念日送什么礼物| 梅干菜是什么菜| 大便黑绿色是什么原因| 抽筋吃什么药| 红红的眼睛是什么生肖| 吹喇叭什么意思| 麦字五行属什么| 食物中毒呕吐吃什么药| 生是什么结构的字| 刺身是什么意思| 儿童发烧挂什么科| 孕检唐筛是检查什么的| 传度是什么意思| 书香门第的书香指什么| 白条是什么| 眼睑红是什么原因| 农历七月份是什么星座| 火旺是什么意思| 硬度不够吃什么中成药| 右肺上叶肺大泡是什么意思| 俄罗斯人是什么人种| 36朵玫瑰花代表什么意思| 贝塔是什么意思| 局气什么意思| 带银子发黑是什么原因| 寿司的米饭是什么米| 丙氨酸氨基转移酶高是什么意思| 猫的胡子有什么作用| 耳朵痒痒是什么原因| 威五行属什么| 痔疮是什么样子的| 什么样的人容易得痛风| 过敏吃什么| 空调管滴水是什么原因| 内膜是什么| 樵夫是什么意思| 携字去掉提手旁读什么| 冥是什么意思| 经常性头疼是什么原因| via什么意思| 右手大拇指发麻是什么原因| 月经期喝什么好| 女生喜欢什么姿势| 三月份什么星座| 腹部超声检查什么| 什么的云| 男生爱出汗是什么原因| 静是什么意思| 甲功是查什么的| 眼睛干痒用什么眼药水比较好| 宫颈癌吃什么好| 职业年金什么时候领取| 什么什么一什么| 985学校是什么意思| asics是什么牌子| 生理期是什么| 梦见很多虫子是什么意思| 梦见马是什么意思| 什么旺水命| 低血压是什么原因| 祖先是什么意思| 别人是什么意思| 深海鱼油起什么作用| 稷是什么作物| aqua是什么牌子| a4腰什么意思| 农村补贴什么时候发放| 喝什么降血糖| 回奶是什么意思| 断头婚是什么意思| 医院特需号是什么意思| 六月二号什么星座| 药流后吃什么消炎药| ktv是什么意思| 了是什么词性| 早上五点半是什么时辰| 口腔溃疡用什么药治疗| 榨菜是什么菜做的| 感统失调是什么意思| cba新赛季什么时候开始| 什么是薪级工资| icu病房是什么意思| 鹅口疮用什么药效果好| 阴虚湿热吃什么中成药| ab型和b型生的孩子是什么血型| 头皮一阵一阵发麻是什么原因| 61年属什么| vertu手机为什么那么贵| 离殇是什么意思| 验血能查出什么病| 嗜睡是什么原因| 肠胃镜挂什么科| 7月4号是什么节日| 退役是什么意思| 花甲和什么不能一起吃| 牛肉和什么不能一起吃| 6月底是什么星座| 减肥最快的方法是什么| 女人梦见龙是什么征兆| 龟吃什么| 塞来昔布是什么药| 补肾固精吃什么药好| 感冒不能吃什么水果| 医院打耳洞挂什么科| 哈吉斯牌子是什么档次| 晟这个字念什么| 橘子什么季节成熟| 吃什么补蛋白| 眉尾上方有痣代表什么| 下水道井盖为什么是圆的| 慢性宫颈炎用什么药| 乙肝有抗体是显示什么结果| 青少年嗜睡是什么原因| 牛黄安宫丸什么时候吃最好| 婴儿便秘怎么办什么方法最有效| 生理盐水有什么作用| 番薯是什么意思| 单核细胞是什么| macd什么意思| hpv阳性意味着什么| 儿童办理护照需要什么材料| 幺蛾子是什么意思| 客片什么意思| 痛风不能吃什么| 老年人贫血吃什么补血最快最有效| 低密度脂蛋白偏高吃什么好| 四川人为什么喜欢吃辣| h家是什么牌子| 办理暂住证需要什么材料| 乳腺彩超什么时候做最准确| 子宫后倾位是什么意思| 肚子为什么会胀气| 亚麻酸是什么东西| 枸杞泡水喝有什么作用和功效| 尕尕是什么意思| 出殡什么意思| 甲硝唑治什么病| 什么东西补血效果最好| 唐僧是什么佛| 睾丸疼痛挂什么科| 为什么老是做噩梦| 腋下疼痛是什么原因| 怜悯之心是什么意思| 火疖子是什么| 小龙虾和什么不能一起吃| 长黑斑是什么原因引起的| 6d是什么意思| 煮茶叶蛋用什么茶| 活检是什么检查| 银针白毫是什么茶| 什么动物的血是蓝色的| 女人纵欲过度会有什么症状| 甲功五项挂什么科| 男生留什么发型好看| 什么入什么出| 老公的弟弟叫什么| 羔羊跪乳是什么意思| 带状疱疹用什么药好| 喉咙痛吃什么药| 谭咏麟属什么生肖| qrs是什么意思| 地皮菜是什么菜| 授课是什么意思| 喝什么水最好| 小龙虾不能和什么一起吃| 96属什么生肖| 定增股票是什么意思| 吴亦凡属什么生肖| 地盆是一种什么病| 做什么生意好赚钱| 被老鼠咬了打什么疫苗| 梦见要账是什么意思| 跌跌撞撞什么意思| 金星原名叫什么| 什么是洗钱| 涤纶是什么材质| 代可可脂是什么| 查怀孕挂什么科| 彼岸花是什么花| 内痔疮吃什么药最好| 什么是滑档| 任劳任怨是什么生肖| 蛇肉吃了有什么好处| 什么是医院感染| 肾功能四项检查什么| 肾气不足有什么症状| 积液是什么原因造成的| 为什么头发老出油| 类风湿是什么意思| 青岛为什么叫青岛| 腿有淤青是什么原因| 蒸馏水是什么水| 做梦梦见捡钱是什么意思| 猫叫是什么意思| 食物中毒有什么症状| 一月三日是什么星座| 辐射是什么| 胆囊壁胆固醇结晶是什么意思| 俄罗斯和白俄罗斯有什么区别| 小王子讲了什么故事| 喝什么水对身体好| 血压高压高低压正常是什么原因| 什么样的人容易孕酮低| 婴儿肥是什么意思| 消化不良用什么药| 心乱如什么| 喜欢黑色的人是什么性格| 黄酒是什么酒| 做脑部检查挂什么科| ptc是什么意思| 辛未日五行属什么| 体力不支是什么意思| 舌根部淋巴滤泡增生吃什么药| 移花接木什么意思| 乙状结肠管状腺瘤是什么意思| 更年期综合征吃什么药| 触及是什么意思| 小孩支气管炎吃什么药| 犬子是什么意思| 碱是什么| 四肢百骸是什么意思| 查乙肝五项挂什么科| 炮烙之刑是什么意思| 嗓子有痰是什么原因引起的| 93年属什么的生肖| 乳糖不耐受是什么症状| 疱疹挂号挂什么科室| 白带豆腐渣用什么药| 枸杞有什么用| 辟邪剑谱和葵花宝典有什么关系| 断奶吃什么药| 射精太快吃什么好| 百福骈臻是什么意思| 有龙则灵的灵是什么意思| 左腿疼是什么原因| 什么什么朝天| 胆结石吃什么最好| 胃口疼是什么原因| 乳房疼挂什么科室| 用盐水洗脸有什么好处和坏处| 湿气重吃什么中药好| 青储是什么| 列席是什么意思| 百度
Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

PaddlePaddle/AutoDL

Repository files navigation

Introduction to AutoDL Design

Content

Installation

Running demo code in the current directory requires PadddlePaddle Fluid v.1.3.0 or above. If your runtime environment does not meet this requirement, please update PaddlePaddle according to the documents.

  • Install Python2.7
  • Install dependencies PARL framework and absl-py library,as follows:
	pip install parl
	pip install absl-py

Introduction

AutoDL is an efficient automated neural architecture design method. It designs quality customized neural architecture via reinforcement learning. The system consists of two components: an encoder of the neural architecture, and a critic of the model performance. The encoder encodes neural architecture using a recurrent neural network, and the critic evaluates the sampled architecture in terms of accuracy, number of model parameters, etc., which are fed back to the encoder. The encoder updates its parameters accordingly, and samples a new batch of architectures. After several iterations, the encoder is trained to converge and finds a quality architecture. The open-sourced AutoDl Design is one implementation of AutoDL technique. Section 2 presents the usage of AutoDL. Section 3 presents the framework and examples.

Data Preparation

  • Clone PaddlePaddle/AutoDL to local machine,and enter the path of AutoDL Design.
  • Download CIFAR-10 training data, unzip to AutoDL Design/cifar, and generate a dataset of 10 classes and 100 images per class using dataset_maker.py
tar zxf cifar-10-python.tar.gz
python dataset_maker.py

Model Training

In the training process, AutoDLa Design agent generates tokens and adjacency matrices used for training, and the trainer uses these tokens and matrices to construct and train convolutional neural networks. The validation accuracy after 20 epochs are used as feed back for the agent, and the agent updates its policy accordingly. After several iterations, the agent learns to find a quality deep neural network. Picture Here we provide the following test on the method.

Test on the convergence of the number of tokens produced

Due to the long training time of CNN, to test the validity of agent framework, we use the number of "correct" tokens produced as a pseudo reward. The agent will learn to produce more "correct" tokens per step. The total length of tokens is set at 20.

	export FLAGS_fraction_of_gpu_memory_to_use=0.98
	export FLAGS_eager_delete_tensor_gb=0.0
	export FLAGS_fast_eager_deletion_mode=1
	CUDA_VISIBLE_DEVICES=0 python -u simple_main.py

Expected results: In the log, average rewards gradually converges to 20:

Simple run target is 20
mid=0, average rewards=2.500
...
mid=450, average rewards=17.100
mid=460, average rewards=17.000

Training AutoDL to design CNN

Train AutoDL Design on the small scale dataset prepared in the previous section:

	export FLAGS_fraction_of_gpu_memory_to_use=0.98
	export FLAGS_eager_delete_tensor_gb=0.0
	export FLAGS_fast_eager_deletion_mode=1
	CUDA_VISIBLE_DEVICES=0 python -u main.py

Note: It requires two GPUs for training, GPU used by the Agent is set by CUDA_VISIBLE_DEVICES=0(in main.py);Trainer uses GPU set by CUDA_VISIBLE_DEVICES=1(in autodl.py)

Expected results: In the log, average accuracy gradually increases:

step = 0, average accuracy = 0.633
step = 1, average accuracy = 0.688
step = 2, average accuracy = 0.626
step = 3, average accuracy = 0.682
......
step = 842, average accuracy = 0.823
step = 843, average accuracy = 0.825
step = 844, average accuracy = 0.808
......

Results

Picture The x-axis is the number of steps, and the y-axis is validation accuracy of the sampled models. The average performance of the sampled models improves over time.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
忌什么意思 尿蛋白微量是什么意思 爱是什么颜色 rm是什么位置 鹅蛋脸适合什么刘海
什么是呼吸性碱中毒 平血头晕吃什么药最好 清晨醒来口苦是什么原因 偷什么不犯法 crp医学上是什么意思
孕早期可以吃什么水果 淋巴结肿大是什么样子 竖小拇指什么意思 c1和c2有什么区别 观音菩萨保佑什么
安道尔微信暗示什么 内分泌科看什么 手足口是什么 牙疼吃什么食物好得快 什么鞋穿着舒服
男孩子断掌有什么说法hcv7jop4ns7r.cn 半联动是什么意思hcv7jop9ns3r.cn 发烧适合吃什么水果hcv9jop5ns3r.cn 大安是什么意思hcv9jop2ns9r.cn 火碱是什么东西hcv8jop8ns3r.cn
前列腺炎是什么症状wmyky.com 雌二醇测定是什么检查hcv8jop7ns1r.cn 骨头坏死是什么原因造成的hcv9jop6ns1r.cn 关节外科主要看什么0297y7.com h的大写字母是什么hcv8jop0ns4r.cn
口苦口臭吃什么药hcv7jop4ns5r.cn 家是什么zhiyanzhang.com 菠菜补什么hcv8jop0ns1r.cn 头疼一般是什么原因引起的hcv9jop3ns7r.cn 小乌龟吃什么食物hcv9jop3ns0r.cn
我能做什么hcv9jop4ns3r.cn 什么是食品添加剂hcv9jop6ns6r.cn 耳鼻喉科属于什么科hcv8jop6ns2r.cn eos是什么意思hcv7jop7ns3r.cn 酒精过敏吃什么药weuuu.com
百度