脑电软件使用手册

开发环境:

  • Python 3.6

  • tensorflow 2.1

  • matlab runtime

  • Filedtrip 2020 直接下载,但是需要加入spm12的Content.txt文件

  • spm 12

    • 下载spm standalone ,点击运行,会解压出一个文件夹在目录spm12_r7771\spm12\spm12_mcr\spm12中找到Contents.txt 复制到Filedtrip的目录 fieldtrip-master\external\spm12中去,在打包成standalone软件的时候需要。
  • pyinstaller 打包 pyinstaller MedicalProjMain.spec

  • protobuf 3.8

MedicalProjMain.spec 中的

# -*- mode: python ; coding: utf-8 -*-

block_cipher = None


a = Analysis(['MedicalProjMain.py'],
            pathex=['D:\\pycharmWorkProject\\MedicalAI'],
            binaries=[],
            datas=[],
            hiddenimports=['pkg_resources.py2_warn','scipy.special','scipy.special.cython_special','pkg_resources.py2_warn','tensorflow','tensorflow_core.python','tensorflow_core.python.platform',
            		'tensorflow_core.python.platform.tf_logging','tensorflow_core.python.platform.self_check',
            		'tensorflow_core.python.platform.build_info','tensorflow_core.python.pywrap_tensorflow',
            		'tensorflow_core.python.pywrap_tensorflow_internal','tensorflow_core.python.util','tensorflow_core.python.util.deprecation',
            		'tensorflow_core.python.util.tf_export','tensorflow_core.python.util.tf_decorator','tensorflow_core.python.util.tf_stack',
            		'tensorflow_core.python.util.tf_inspect','tensorflow_core.python.util.*','tensorflow_core.python.util.decorator_utils',
            		'tensorflow_core.python.util.ANY.*','tensorflow_core.python.util.is_in_graph_mode','tensorflow_core.python.util.tf_contextlib',
            		'tensorflow_core.core','tensorflow_core.core.framework','tensorflow_core.core.framework.graph_pb2','tensorflow_core.core.framework.node_def_pb2',
            		'tensorflow_core.core.framework.attr_value_pb2','tensorflow_core.core.framework.tensor_pb2'],
            hookspath=['.'],
            runtime_hooks=[],
            excludes=[],
            win_no_prefer_redirects=False,
            win_private_assemblies=False,
            cipher=block_cipher,
            noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
            cipher=block_cipher)
exe = EXE(pyz,
         a.scripts,
         [],
         exclude_binaries=True,
         name='MedicalProjMain',
         debug=False,
         bootloader_ignore_signals=False,
         strip=False,
         upx=True,
         console=True )
coll = COLLECT(exe,
              a.binaries,
              a.zipfiles,
              a.datas,
              strip=False,
              upx=True,
              upx_exclude=[],
              name='MedicalProjMain')

安装环境:

  • Windows 10
  • matlab runtime
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值