Coder Social home page Coder Social logo

verbose=True KeyError: '' about visualdl HOT 3 CLOSED

ZYNORl avatar ZYNORl commented on May 26, 2024
verbose=True KeyError: ''

from visualdl.

Comments (3)

ZYNORl avatar ZYNORl commented on May 26, 2024

已经解决了
logwrite接口应该过时了,换成了这个

#创建模型
model = MyNet()
#保存模型,获取模型结构文件
paddle.jit.save(model, './log/graph_test/MyNet', [paddle.static.InputSpec([-1,1,28,28])])

from visualdl.

rainyfly avatar rainyfly commented on May 26, 2024

该问题产生的原因应该是代码没有考虑好跨平台下的兼容性问题,因为节点的层次路径表示用的是/,然后里面处理节点路径用的os.path的lib,在windows下是用\表示路径的,造成了bug。在下一个版本中进行修复。

from visualdl.

rainyfly avatar rainyfly commented on May 26, 2024

修复的pr #1244 。 这个修复将在下一个小版本中进入,如果需要在windows下使用,可以参考这个pr中修改的文件在本地对应修改一下。具体可以安装如下操作:
import visualdl
visualdl.path
看一下visualdl的安装路径,然后找到pr中修改的文件对应修改一下即能够生效。

from visualdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.