ubifs异步文件系统挂载注意
ubifs 是一个异步的文件系统, 所以为了掉电的时候数据能保存完整, 最好使用-o sync 挂载文件系统标签: linux
Brain-Computer Interface
If there is a brain-computer interface, artificial intelligence life forms can be connected with the human brain. If it continues to develop, will humans belong to machines or machines to humans? Can our consciousness be transferred to a machine through an interface? Is the transferred consciousness...三年疫情
近日长沙的防疫政策悄然改变,一九年末开始的防疫之战似乎以一种出乎意料的方式走向尾声,也或者这才是一个开始? 经过三年的洗礼,人们也多多少少地改变了,变得…… 坚强?脆弱?敏感? 我也不确定,也许都有吧。 一场疫情,照见人生百态。 有人发财,有人破产,有人希望开放,有人害怕感染。舆论场上也是纷纷嚷嚷,时而宣扬疫情的死亡率高、后遗症严重,时而又调转方向说死亡率已经下降、大多数人都是轻症。以前“人民的生命是第一位的”,如今“个人是健康的第一责任人”。生命与经济始终逃不过命运的天平,我们要的是一个平衡点而已。 据一位不愿意透漏姓名的人士说,我们生活的这个世界像是虚拟的。一个系统,病毒会时不...[python]An example of argparse
import argparse parser = argparse.ArgumentParser() parser.add_argument('--arg1', type=int, default=2) parser.add_argument('-arg2',type=float, default=.5) parser.add_argument('arg3',type=float) args = parser.parse_args() print(args)标签: python
[python]An example of with_as
class newc: def __enter__(self): print("enter of newc\n") return self def __exit__(self,type,value,trace): print("exit of newc\n") print("type:", type) print("value:", value) print("trace:", trace) def fun(self): print...标签: python
[DL]Efficient Graph-Based Image Segmentation
import os import math import torch import matplotlib.pyplot as plt from PIL import Image from torchvision import transforms from torchvision.transforms import ToPILImage MAX_VAL = 65535 means = [0.485, 0.456, 0.406] stds = [ 0.229, 0.224, 0.225] def cost_edge(a, b): ret = 0 ...标签: neural network linux python machine_learning DL
[Python] Create linked list in python
class Node: def __init__(self, dst = -1, cost = -1): self.dst = dst self.cost = cost self.link = None def image_to_graph(image): print("ssss\n") header = Node() header.link = Node(1,1) header.link.link = Node(2,2) p = header whil...标签: python Data Structures data_structures
[DL]SRGAN
import os import sys import torch import torch.nn as nn import torch.nn.functional as F from PIL import Image,ImageFilter import matplotlib.pyplot as plt import numpy as np import torchvision from torchvision import transforms from torchvision.transforms import ToTensor from torchvision.t...标签: python machine_learning DL
[DL]ESPCN
import os import sys import torch import torch.nn as nn import torch.nn.functional as F from PIL import Image,ImageFilter import matplotlib.pyplot as plt import numpy as np import torchvision from torchvision import transforms from torchvision.transforms import ToTensor from torchvision.t...标签: python machine_learning DL
[DL]DRRN
import os import sys import torch import torch.nn as nn import torch.nn.functional as F from PIL import Image,ImageFilter import matplotlib.pyplot as plt import numpy as np import torchvision from torchvision import transforms from torchvision.transforms import ToTensor from torchvision.t...标签: python machine_learning DL
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...