Package: mindinsight
MindInsightIntroductionInstallationSystem Environment Information ConfirmationInstallation MethodsInstallation by pipInstallation by Source CodeDownloading Source Code from GiteeCompiling MindInsightInstallation VerificationQuick StartDocsCommunityGovernanceCommunicationVulkan VisionContributingRelease NotesLicense简体中文IntroductionMindInsight provides MindSpore with easy-to-use debugging and tuning capabilities. During the training, data such as scalar, tensor, image, computational graph, model hyper parameter and training's execution time can be recorded in the file for viewing and analysis through the visual page of MindInsight.Click to view theMindInsight design document, learn more about the design.
Click to view theTutorial documentationlearn more about the MindInsight tutorial.InstallationSystem Environment Information ConfirmationThe hardware platform supports Ascend, GPU and CPU.Confirm thatPython3.7.5 is installed.The versions of MindInsight and MindSpore must be consistent.If you use source code to compile and install, the following dependencies also need to be installed:Confirm thatnode.js10.19.0 or later is installed.Confirm thatwheel0.32.0 or later is installed.All other dependencies are included inrequirements.txt.Installation MethodsYou can install MindInsight either by pip or by source code.Installation by pipInstall from PyPI:pipinstallmindinsightInstall with customized version:pipinstallhttps://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindInsight/any/mindinsight-{version}-py3-none-any.whl--trusted-hostms-release.obs.cn-north-4.myhuaweicloud.com-ihttps://pypi.tuna.tsinghua.edu.cn/simpleWhen the network is connected, dependency items are automatically downloaded during .whl package installation. (For details about other dependency items, seerequirements.txt). In other cases, you need to manually install dependency items.{version}denotes the version of MindInsight. For example, when you are downloading MindSpore 1.3.0,{version}should be 1.3.0.MindInsight supports only Linux distro with x86 architecture 64-bit or ARM architecture 64-bit.Installation by Source CodeDownloading Source Code from Giteegitclonehttps://gitee.com/mindspore/mindinsight.gitCompiling MindInsightYou can choose any of the following installation methods:Run the following command in the root directory of the source code:cdmindinsight
pipinstall-rrequirements.txt-ihttps://pypi.tuna.tsinghua.edu.cn/simple
pythonsetup.pyinstallBuild thewhlpackage for installation.Enter the root directory of the source code, first execute the MindInsight compilation script in thebuilddirectory, and then execute the command to install thewhlpackage generated in theoutputdirectory.cdmindinsight
bashbuild/build.sh
pipinstalloutput/mindinsight-{version}-py3-none-any.whl-ihttps://pypi.tuna.tsinghua.edu.cn/simpleInstallation VerificationExecute the following command:mindinsightstart[--portPORT]notes: the param --port default value is 8080If it prompts the following information, the installation is successful:Webaddress:http://127.0.0.1:8080
servicestartstate:successQuick StartBefore using MindInsight, the data in the training process should be recorded. When starting MindInsight, the directory of the saved data should be specified. After successful startup, the data can be viewed through the web page. Here is a brief introduction to recording training data, as well as starting and stopping MindInsight.SummaryCollectoris the interface MindSpore provides for a quick and easy collection of common data about computational graphs, loss values, learning rates, parameter weights, and so on. Below is an example of usingSummaryCollectorfor data collection, specifying the directory where the data is stored in./summary_dir....frommindsporeimportSummaryCollectorsummary_collector=SummaryCollector(summary_dir='./summary_dir')model.train(epoch=1,ds_train,callbacks=[summary_collector])For more ways to record visual data, see theMindInsight Tutorial.After you've collected the data, when you launch MindInsight, specify the directory in which the data has been stored.mindinsightstart--summary-base-dir./summary_dir[--portPORT]notes: the param --port default value is 8080After successful startup, visithttp://127.0.0.1:8080through the browser to view the web page.Command of stopping the MindInsight service:mindinsightstop[--portPORT]notes: the param --port default value is 8080, you can stop the specified port MI service.For more about MindInsight command_line，see theMindInsight Command_line.DocsMore details about installation guide, tutorials and APIs, please see theUser Documentation.CommunityGovernanceCheck out how MindSpore Open Governanceworks.CommunicationMindSpore Slack- Communication platform for developers.IRC channel at#mindspore(only for meeting minutes logging purpose)Video Conferencing: TBDMailing-list:https://mailweb.mindspore.cn/postorius/listsVulkan VisionVulkan Vision(V-Vision) provides an unprecedented level of detail into the execution of Vulkan applications through dynamic instrumentation. V-Vision supports analyzing AI workloads implemented using the a compute pipeline as well as traditional raster and ray-tracing Vulkan applications. To use V-Vision please refer to thebuild instructions. For more information, please refer tothe paperpublished at CGO 2021.ContributingWelcome contributions. See ourContributor Wikifor more details.Release NotesThe release notes, see ourRELEASE.LicenseApache License 2.0