Giter VIP home page Giter VIP logo

Comments (1)

raven44099 avatar raven44099 commented on May 30, 2024

I've recognized that I can continue the notebook executions beyond this errors. However, I was not able to execute the whole notebook, since I got an error in following cell:

# Initialize the trainer and model
trainer = Trainer(**cfg.trainer)
exp_manager(trainer, cfg.get("exp_manager", None))
model = nemo_nlp.models.EntityLinkingModel(cfg=cfg.model, trainer=trainer)

ERROR:

INFO:pytorch_lightning.utilities.rank_zero:Using bfloat16 Automatic Mixed Precision (AMP)
INFO:pytorch_lightning.utilities.rank_zero:GPU available: False, used: False
INFO:pytorch_lightning.utilities.rank_zero:TPU available: False, using: 0 TPU cores
INFO:pytorch_lightning.utilities.rank_zero:IPU available: False, using: 0 IPUs
INFO:pytorch_lightning.utilities.rank_zero:HPU available: False, using: 0 HPUs
[NeMo I 2023-02-06 02:31:00 exp_manager:362] Experiments will be logged at SelfAlignmentPretrainingTinyExample/2023-02-06_02-14-21
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-33-8586e3adaa65>](https://localhost:8080/#) in <module>
      1 # Initialize the trainer and model
      2 trainer = Trainer(**cfg.trainer)
----> 3 exp_manager(trainer, cfg.get("exp_manager", None))
      4 model = nemo_nlp.models.EntityLinkingModel(cfg=cfg.model, trainer=trainer)

3 frames
[/usr/local/lib/python3.8/dist-packages/lightning_fabric/loggers/tensorboard.py](https://localhost:8080/#) in __init__(self, root_dir, name, version, default_hp_metric, prefix, sub_dir, **kwargs)
     91     ):
     92         if not _TENSORBOARD_AVAILABLE and not _TENSORBOARDX_AVAILABLE:
---> 93             raise ModuleNotFoundError(
     94                 "Neither `tensorboard` nor `tensorboardX` is available. Try `pip install`ing either."
     95             )

ModuleNotFoundError: Neither `tensorboard` nor `tensorboardX` is available. Try `pip install`ing either.

from sapbert.

Related Issues (8)

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.