CPU or GPU?
与CPU相比,GPU擅长SIMD(Single Instruction Multiple Data)计算.
参考资料
与CPU相比,GPU擅长SIMD(Single Instruction Multiple Data)计算.
参考资料
1.get data from file
2.data preprocess
3.get data and label
4.design the model used here
5.train the model
6.validate the model
7.test the model
8.save the model with best accuracy
note: pay more attention on
1)how to deal with the source data that model can process.
In general,the size of the input of the model is [B, C, H, W],
where B is batch size,C is number of channels,H ans W is two dimension of the input data respectively.
2)how to calculate ‘in_features’ of the first fully connected layer`
1.结构事物
模型的静态部分,是UML模型中的名词,描述概念或物理元素。
包括:类(class),(接口)interface,协作(collaboration),用例(use case),主动类(active class),构件(component),节点(node)
2.行为事物
模型的动态部分,描述了跨越时间和空间的行为。
包括:交互(interaction),状态机(state machine)
交互:由在特定语境中共同完成一定任务的一组对象之间交换的消息组成,描述一个对象群体的行为或单个操作的行为
状态机:描述了一个对象或一个交互在生命期内响应事件所经历的状态序列
3.分组事物
分组事物是一些由模型分解成的组织部分,最主要的是包
4.注释事物
用来描述、说明和标注模型的任何元素,主要是注解