Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3607534
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-05-09 23:45:58

import osimport pygame as pgkeybinding = {   'action':pg.K_s,   'jump':pg.K_a,   'left':pg.K_LEFT,   'right':pg.K_RIGHT,   'down':pg.K_DOWN}class Control(object):  &nbs.........【阅读全文】

阅读(826) | 评论(0) | 转发(0)

发布时间:2022-05-06 17:49:29

# -*- coding: utf-8 -*-# @Time : 2022/3/30 14:44# @Author : Orange# @File : gm_trigonometric.pyfrom decimal import *import mathclass GM_trig():    def __init__(self, X0, X0_hat, L):        ''' &nbs.........【阅读全文】

阅读(532) | 评论(0) | 转发(0)

发布时间:2022-05-05 17:33:30

import osimport cv2import sysimport timeimport numpy as npimport face_recognitionfrom PyQt5.QtGui import QPixmapfrom PyQt5.QtWidgets import QApplication,QLabel# 全局变量path = './data'  # 人像存储路径showflag = True  # 是否实时显示图像# 利用PyQ.........【阅读全文】

阅读(458) | 评论(0) | 转发(0)

发布时间:2022-05-03 12:09:34

# 创建一个代表玩家的AIai_players = [0, 0]ai_players[0] = self.user_positionai_players[1] = DeepAgent(self.user_position, self.card_play_model_path_dict[self.user_position])# 初始化游戏环境self.env = GameEnv(ai_players)# 游戏开始self.start()def start(self): .........【阅读全文】

阅读(490) | 评论(0) | 转发(0)

发布时间:2022-04-29 14:36:03

import torch.nn as nnimport torchimport cv2import os# 路径改为反斜杠,在linux和windows中都可使用pkl_dir = "D:/DCGAN/pkl/25g.pkl"# 在同目录下建立一个bitmap_epoch10文件夹test_dir = "bitmaps_epoch10/"if not os.path.exists(test_dir): os.makedirs(test_dir)device = to.........【阅读全文】

阅读(485) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册