Giter Club home page Giter Club logo

Comments (6)

yangcedrus avatar yangcedrus commented on July 26, 2024

Thanks for your issue.
In fact, we have already shown train/val/test acc, data time, cal time and loss during training. Do you mean the graph display like Tensorboard?
If you are referring to the tensorboard, we also have saved the tensorboard files in the results directory, which can be viewed using the tensorboard command.

from libfewshot.

maxwell1386 avatar maxwell1386 commented on July 26, 2024

You are welcome.
I mean how can I see train/val/test acc, data time, cal time and loss during training or how can I active verbose.
During training I can not see these parameters.and I have to open related "log" files of them in result folder to see them. is there any option or argument to activate it?

from libfewshot.

yangcedrus avatar yangcedrus commented on July 26, 2024

Hello, we have not met this problem you mentioned yet.
We are wondering if you could check or tell us the following points:

  1. Have any modifications been made to the source code or configuration file?
  2. Check the information of OS and Python version.
  3. Check the environment variables.

from libfewshot.

maxwell1386 avatar maxwell1386 commented on July 26, 2024

Thank you.
I am running the code on Google Colab.

from libfewshot.

wZuck avatar wZuck commented on July 26, 2024

This problem may caused by some limitation of the Colab(or jupyter), could you try to add a magic %%python before run your cell?

%% python
import sys
sys.dont_write_bytecode = True
from core.config import Config
from core import Trainer

if __name__ == "__main__":
    config = Config("./config/proto.yaml").get_config_dict()
    trainer = Trainer(config)
    trainer.train_loop()

Generally, the LibFewShot should be run via shell commands, could you try run the run_trainer.py by following command in the Colab?

!python3 run_trainer.py

from libfewshot.

maxwell1386 avatar maxwell1386 commented on July 26, 2024

Thank you so much.
It works good via shell.

from libfewshot.

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.