当前位置:网站首页>Use kaggle to run Li Hongyi's machine learning homework
Use kaggle to run Li Hongyi's machine learning homework
2022-07-27 10:50:00 【loco_ monkey】
With hw4 For example
register kaggle Account needs tizi To get the verification code , No need to log in later tizi
Use GPU You need to fill in your mobile phone number , Also needed tizi Verify the captcha , There are... Every week 37 Hours of gpu Use your time , You can also use cpu
1. First read the training data
According to the directory structure on the right 
Modify the path to read the dataset
def parse_args():
"""arguments"""
config = {
# Modify the path to read the dataset
"data_dir": "/kaggle/input/ml2022spring-hw4/Dataset",
"save_path": "model.ckpt",
"batch_size": 32,
"n_workers": 8,
"valid_steps": 2000,#2000
"warmup_steps": 1000, #1000
"save_steps": 10000, #10000
"total_steps": 70000, #70000
}
2. Read the training set address / Save the model address /test Data set prediction results
def parse_args():
"""arguments"""
config = {
"data_dir": "/kaggle/input/ml2022spring-hw4/Dataset",
"model_path": "/kaggle/working/model.ckpt",
"output_path": "/kaggle/working/output.csv",
}
return config
3. Use pip
First turn the right internet Turn on 
pip Remember to add before !
边栏推荐
- flask_ Output fields in restful (resources, fields, marshal, marshal_with)
- MySQL must know and know!!! Reading this article is enough!!!
- Matlab draws the system response under different damping
- How to turn off the application of computer self startup
- jvm--字节码浅析
- Different binary conversion of MATLAB
- 想要一键加速ViT模型?试试这个开源工具!
- 厉害了!VMware ESXi安装记录,附下载
- Wind10 configure ADB command
- 开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能
猜你喜欢

Custom page 01 of JSP custom tag

简单几步教您实现为工业树莓派共享网络

Tensorflow notes - basic functions and concepts

Overview of user space lock on mobile platform

File upload vulnerability bypass method
![[Flink] Flink builds clusters in standalone mode](/img/5b/e566fdd2792b5cda7d37d308ee32e2.png)
[Flink] Flink builds clusters in standalone mode

Pyqt5 rapid development and practice 4.2 QWidget

阿里邮箱web端登录转圈的处理

Recruit top talents! The "megeagle creator program" of Kuangshi technology was officially launched

基于Spark封装的二次开发工程edata-base,介绍
随机推荐
[Select] how to write PHP code perfectly?
Camera switching
phpstudy中Apache无法启动
Redis数据结构分析(二)
多点双向重发布和路由策略
WebRTC实现简单音视频通话功能
Wind10 configure ADB command
Document intelligent multimodal pre training model layoutlmv3: both versatility and superiority
Matlab discrete event system simulation experiment
Server access speed
7z用法
MySQL数据表的高级操作
SQL injection
The difference between scalar, vector, matrix and tensor in deep learning
[brother hero's June training] day 27: picture
Metasploit Eternal Blue attack
Shardingproxy sub database and table actual combat and comparison of similar products
Customized modification based on jira7.9.2
【Liunx】MariaDB/MySQL定时全量备份脚本及数据恢复
Tdengine helps Siemens' lightweight digital solution simicas simplify data processing process