
文柯阁
文字记录生活
最新文章
-
29 2022年07月
深度学习环境的一些坑(SegFormer)
我的环境介绍RTX3060UBUNTU22.04cuda11.5cudnn8.4.1 for cuda11.x原文链接:SegFormerRTX30系列不支持cuda10.x驱动由于我最后才发现遇到了timm版本的问题,所以我不知道11.3版本cuda是否存在这个问题但是mmseg最高支持到11,5
-
22 2022年07月
SDL2小作业:使用原始函数绘图&使用ViewPort方法来绘制不同窗口的纹理(Lazy Foo' SDL2 Lesson8&9)
Lesson 8 Geometry Rendering要求使用SDL2库自带的绘图函数来绘制简单的几何形状,包括填充方法、非填充方法、虚线、实线等运行结果代码#include <cstdio>#include "SDL2/SDL.h"// CONSTSconst in
-
19 2022年07月
SDL2小作业之纹理加载和渲染(Lazy Foo' SDL2 Lesson7)
在前几节中学习了用Surface来绘制界面显示图片,SDL2同样提供了渲染器和纹理APi来绘制界面
-
17 2022年07月
SDL小作业之键盘按压事件(Lazy Foo' SDL2 Lesson4)
按UP DOWN RIGHT LEFT 分别切换为对应的图片并刷新窗口
-
15 2022年07月
SDL小作业在屏幕上显示BITMAP (Lazy Foo' SDL2 Lesson2)
运行结果代码#include <iostream>#include "SDL.h"const int SCREEN_WIDTH = 141;const int SCREEN_HEIGHT = 135;bool initWindow();bool loadMedia()
-
11 2022年02月
-
27 2022年01月
C++单链表基础练习
#include<iostream>#include<system_error>#include<cstdlib>using namespace std;class LinkList{private: struct Node { int
-
Better bitwarden usage guide
IntroduceBitwarden is a prevailing open-source password management service. There'are another version of bitwarden refactored by rust called vaultward