会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
南理工学渣
博客园
首页
新随笔
联系
订阅
管理
2022年1月23日
范数
摘要: L2范数 向量元素平方和的平方根 L1范数 向量元素绝对值之和
阅读全文
posted @ 2022-01-23 16:56 南理工学渣
阅读(49)
评论(0)
推荐(0)
2022年1月22日
代码阅读的小技巧
摘要: 查看模型每一层的输出情况 以基础的LeNet为例 import torch from torch import nn class Reshape(torch.nn.Module): def forward(self, x): return x.view(-1, 1, 28, 28) net = to
阅读全文
posted @ 2022-01-22 15:54 南理工学渣
阅读(61)
评论(0)
推荐(0)
2021年7月24日
程序打包简要介绍
摘要: python程序 python程序使用pyinstaller这个库,然后转到程序所在的同级目录,使用命令pyinstaller -F name.py。 打包完成后在目录dist查看 Android程序
阅读全文
posted @ 2021-07-24 15:10 南理工学渣
阅读(112)
评论(0)
推荐(0)
2021年4月27日
Android开发之服务器与移动端通过socket通信
摘要: 工具 python、java python代码 1 # -*- coding: UTF-8 -*- 2 3 # server.py 4 import socket 5 6 IP_address = "192.168.1.104" 7 port = 51706 8 s = socket.socket(
阅读全文
posted @ 2021-04-27 17:56 南理工学渣
阅读(246)
评论(0)
推荐(0)
arp欺骗
摘要: 工具 kali linux下的arpspoof,VMware以及USB式的无线网卡 遇见问题 1、kali2020未装arpsproof。 首先执行sudo apt-get update,然后apt-get install arpsproof 2、无法ping到受害主机 3、注意使用管理员权限进行操
阅读全文
posted @ 2021-04-27 12:34 南理工学渣
阅读(117)
评论(0)
推荐(0)
2021年4月23日
获取他人WiFi密码
摘要: 使用的工具 就是使用了python语言,利用里面的os库和smptlib。 代码 1 import os 2 import smtplib 3 from email.mime.text import MIMEText 4 5 6 def get_pwd(): 7 wifi = "\"404 NOT
阅读全文
posted @ 2021-04-23 22:59 南理工学渣
阅读(706)
评论(0)
推荐(0)
2021年4月17日
2017省赛A第4题
摘要: 参考文章 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int X[] = {0, -1, 1, 0, 0}; 5 int Y[] = {0, 0, 0, -1, 1}; 6 7 bool vis[10][10]; 8 int res =
阅读全文
posted @ 2021-04-17 20:36 南理工学渣
阅读(34)
评论(0)
推荐(0)
2021年4月16日
2017省赛A第2题
摘要: #include<bits/stdc++.h> using namespace std; struct node{ string str;//当前的状态 int pos;//当前0的位置 int step;//所走的步数 node(string str,int pos,int step):str(s
阅读全文
posted @ 2021-04-16 19:51 南理工学渣
阅读(26)
评论(0)
推荐(0)
2017省赛A第1题
摘要: 注意事项 注意更换状态 #include<bits/stdc++.h> using namespace std; char maps[11][11]; int vis[11][11]; int ans=0; void input() { ifstream infile; infile.open("i
阅读全文
posted @ 2021-04-16 12:06 南理工学渣
阅读(27)
评论(0)
推荐(0)
2021年4月15日
2018省赛A组第8题
摘要: 吐槽 好难啊!!!! #include<bits/stdc++.h> using namespace std; char maps[1001][1001]; int n; bool flag=false;//标记这个岛是否被完全淹没 int vis[1001][1001]={0};//0表示没搜过
阅读全文
posted @ 2021-04-15 22:58 南理工学渣
阅读(32)
评论(0)
推荐(0)
下一页
公告