Giter VIP home page Giter VIP logo

Comments (5)

lx-ynu avatar lx-ynu commented on July 21, 2024

Hi, I also have the same problem, did you solve it?

from jmodt.

zkp0113 avatar zkp0113 commented on July 21, 2024

hey bro. do u meet the problem when training the model “that UnboundLocalError: local variable 'val_loss_epoch' referenced before assignment #2

Thanks a lot.

from jmodt.

zkp0113 avatar zkp0113 commented on July 21, 2024

@zzm-hl @ynlx
Excuse me,I meet same problems.
No.1 ”UnboundLocalError: local variable 'val_loss_epoch' referenced before assignment“;
For this problem I change some code then the problem fixed,but it comes new problem that same with this.

No.2 “best_model.path” is not update.

对不起,我也遇到同样的问题。
第1条问 “UnboundLocalError:赋值前引用的局部变量‘val_loss_epoch’”;对于这个问题,我更改了一些代码,然后问题得到了解决,但随之而来的是新问题。
第2条 “best_model.path”未更新。

from jmodt.

zkp0113 avatar zkp0113 commented on July 21, 2024
jmodt

Thank you very much for your work. I noticed that the best checkpoint doesn't seem to have been updated while I was training, is this normal?

I meet the same problem,I found that 'rcnn_link_pos': 0.0, 'rcnn_link_neg': 0.0, 'rcnn_start_pos': 0.0, 'rcnn_start_neg': 0.0, 'rcnn_end_pos': 0.0, 'rcnn_end_neg': 0.0 when I run the train.py. I think the best_model.pth not update because of these parameters are always zero.

from jmodt.

Muhammadadeelaltaf avatar Muhammadadeelaltaf commented on July 21, 2024

@zzm-hl @ynlx Excuse me,I meet same problems. No.1 ”UnboundLocalError: local variable 'val_loss_epoch' referenced before assignment“; For this problem I change some code then the problem fixed,but it comes new problem that same with this.

No.2 “best_model.path” is not update.

对不起,我也遇到同样的问题。 第1条问 “UnboundLocalError:赋值前引用的局部变量‘val_loss_epoch’”;对于这个问题,我更改了一些代码,然后问题得到了解决,但随之而来的是新问题。 第2条 “best_model.path”未更新。

Hello dear @zzm-hl, How did you change your code for error 1? ”UnboundLocalError: local variable 'val_loss_epoch' referenced before assignment“ “UnboundLocalError:赋值前引用的局部变量‘val_loss_epoch’”;对于这个问题,我更改了一些代码"

from jmodt.

Related Issues (15)

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.