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.

inference with random dataset

See original GitHub issue

Hi,

Using the latest version of DLRM I am trying to run inference on random data. The command I am using is like this: python dlrm_s_pytorch.py --arch-embedding-size=65000-65000-65000-65000-65000-65000-65000-65000 --arch-sparse-feature-size=64 --arch-mlp-bot=1440-720-64 --arch-mlp-top=40-20-10-1 --data-generation=random --mini-batch-size=128 --num-batches=10 --num-indices-per-lookup=32 --num-indices-per-lookup-fixed=True --inference-only This used to work okay with earlier version of DLRM but now I get this error when using --inference-only: File "dlrm_s_pytorch.py", line 1452, in run ), "currently only dataset loader provides testset" AssertionError: currently only dataset loader provides testset Training is totally ok but inference no. Can you please help me to figure out why I am getting this error and how it can be solved?

Thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mnaumovfbcommented, May 20, 2021

I believe I might know the reason for this discrepancy. In the past the inference run would use samples from the training set as inputs, while later we changed it to use samples from the test set. This might have inadvertently changed the behavior of the random data. We can take this as an action item to fix in the future.

0reactions
mnaumovfbcommented, May 25, 2021

@amirstar has made a commit https://github.com/facebookresearch/dlrm/commit/9acb4e1e9bb78995f32a08e76f1299db6a5d6834 that should allow you to run with random data.

Please give it a try and let us know if it works for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Randomization Inference - Dimewiki - World Bank
Randomization inference is a method of calculating regression p-values that take into account any variations in RCT data that arise from randomization ...
Read more >
pForest: In-Network Inference with Random Forests - arXiv
pForest solves this problem by: (i) training random forest models tailored to different phases of a flow; and (ii) dynamically switching ...
Read more >
Make inferences about a population by analyzing random ...
A.2 Use data from a random sample to draw inferences about a population with an unknown characteristic of interest.
Read more >
Making inferences from random samples - YouTube
Recorded with https://screencast-o-matic.com.
Read more >
Making Inferences from a Random Sample - Module 10.2
Comparing Data Displayed in Dot Plots - Lesson 11.1 · Sampling: Population vs. · Lesson 11.2 Making Inferences from a Random Sample ·...
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