question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about changing model in system and real-time issue

See original GitHub issue

Hi @juanmc2005 ! it’s me again, sorry for bothering you… I have several questions

  1. I have already fine-tuned a segmentation model with other dataset (not AIM, VoxConverse) and store in “.ckpt” model. I sure that it can be loaded by using ckpt_path = "path/where/store/ckpt/epoch=9_best.ckpt" Model.from_pretrained(ckpt_path, strict=False) i want to put replace this model in your system for some testing. But when i change here by segmentation: PipelineModel = Model.from_pretrained('path/where/store/ckpt/epoch=9_best.ckpt'). When using “python -m diart.stream”, the system is still using “pyannote/segmentation”. could you give me some hints?
  2. Is there any useful augmentation method for training or fine-tuning? I know that can add back noise or something. Where should i add them?
  3. this system can use for real-time right (streaming)? If yes, how to confirm “real-time”? like real-time factor or something else?

Thanks for your awesome project, it helps me a lot!! Looking forward to your reply~~ Best Regards

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
juanmc2005commented, Jun 6, 2022

In version 0.3 it defaults to GPU yes, both in the python API and diart.stream/diart.inference. Adding --cpu when you run the script forces CPU usage.

1reaction
juanmc2005commented, Jun 2, 2022

I’m glad it’s clear now 😃 At this point you should probably be able to understand quite a bit of diart’s code, so if you ever think of some interesting feature or you find a bug, any contribution/pull request is more than welcome!

But why not said that the system can beat the official offline baseline when setting the latency as 4s or 5s? Are there any considerations?

That is also shown, although not specifically written. I guess the takeaway from that sentence is that we succeed in obtaining the same performance with much lower requirements: low system latency, very low real-time latency (165ms on CPU), online processing, and with continual improvement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

50+ Change Management Questions to Ask During a Change ...
Asking change management questions is the best way to ensure success for your project. Read on to discover why.
Read more >
10 Questions Employees Will Have About Any Change - Prosci
Change is hard, especially for front-line employees. Here are ten questions people managers should prepare to answer before implementing any changes.
Read more >
Lewin's 3-Stage Model of Change Theory: Overview - Whatfix
Lewin's change model is a simple and easy-to-understand framework to humanize the change management process. These three distinct stages of  ...
Read more >
What is Change Management? - Definition from TechTarget.com
Change management is a systematic approach to dealing with the transition or transformation of an organization's goals, processes or technologies.
Read more >
The 8 most-asked system design interview questions (+ ...
Complete list of 59 system design interview questions, including the 8 most common across Google, Amazon, and Facebook.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found