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.

what should i do if i wanna evaluate this model on my own dataset ?

See original GitHub issue

Hi kenshohara ! I want to evaluate this model on my own dataset without modifying too much the code. I have skimmed through the code and then i think i should modify the file dataset.py. However i dont know how to begin to modify it. Would you please give me some suggestions ? Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
FesianXucommented, Jan 14, 2020

@Fazlik995 Hi The problem was a long time before and I can’t find the project files now. But I think kenshohara already gives a good explanation about the method about custom dataset implementation. First the json files are only a way of label annotation so if your own datasets are simply some action label or something like that, just ignore the json files, maybe name your sample files like: A01_P01_V01.avi would help you in later dataset customing. (Axx for action label, Pxx for person id and Vxx for view id for example.) Second, to make a custom dataset, you just need to follow the intructions in: http://pytorch.org/tutorials/beginner/data_loading_tutorial.html make sure that the custom class method __getiem__ would return the items you need (e.g. sample matrix and labels), always you need to parse the sample’s name here to get the corresponding sample’s label, And that is how the json files work here - to get the corresponding label in a formatting way.

So the conclusion is that, you don’t have to use the json files.

0reactions
slighting666commented, Jan 14, 2020

@Fazlik995 ok,thanks! Clip level is a video that randomly selects the beginning in time and then 16 consecutive frames. I want to know how many clips are extracted from a video?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Connect Model Input Data With Predictions for ...
A model can be fit and evaluated on a dataset in just a few lines of code. It is so easy that it...
Read more >
5 Steps to correctly prepare your data for your machine ...
Step 1: Gathering the data ... The choice of data entirely depends on the problem you're trying to solve. Picking the right data...
Read more >
Hands-On: Evaluate the Model - Dataiku Knowledge Base
In this section, we'll evaluate our baseline machine learning model and look for ways we can tune it to both improve its performance...
Read more >
Training and evaluation with the built-in methods - TensorFlow
When passing data to the built-in training loops of a model, you should either use NumPy arrays (if your data is small and...
Read more >
How to customize Machine Learning models the simple way
Learn the easiest way to customize pretrained Machine Learning models to your own data. ... Your browser can 't play this video.
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