Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError, Broken dataset assumption #1

Closed
JaehongJaehongMin opened this issue Oct 15, 2024 · 5 comments
Closed

FileNotFoundError, Broken dataset assumption #1

JaehongJaehongMin opened this issue Oct 15, 2024 · 5 comments

Comments

@JaehongJaehongMin
Copy link

Hi,
Thank you for the kind explanation of how to reproduce your code.

Unfortunately, I've encountered some exceptions during the reproducing.
I think I should prerpocess the Peract dataset before the inference.
I've followed your instruction carefully, and don't have any version issue.

But the problem is 'eval.py' code in RLBench couldn't find the test directories are not included in your box folder.
Screenshot 2024-10-15 133928

To resolve this I've changed the name of the all_variations folder to variation-1, but had another issue with the pkl file.
image
The lenght of the pkl file is 429 just like the original Peract dataset, but the length of the l_sh_rgb_f (and so on) is 13 as you simplified.

Could you please share your dataset preprocessing code or explain how the handle this error?

@JaehongJaehongMin JaehongJaehongMin changed the title FileNotFoundError, Broken FileNotFoundError, Broken dataset assumption Oct 15, 2024
@mlzxy
Copy link
Owner

mlzxy commented Oct 15, 2024

I think I know the reason. I commented out the length check in RLBench to bypass this. This length check is unnecessary.

Could you do it just for the moment? I can think of a better way to handle this in the mean time. Also, you don't need to rename folders; consider changing them back

@mlzxy
Copy link
Owner

mlzxy commented Oct 15, 2024

@JaehongJaehongMin
Copy link
Author

JaehongJaehongMin commented Oct 16, 2024

Thank you for the quick response!
I commented out the part of the leanght check.

But I don't think that the filename error have been resolved.
image

I've already restored the file name in original state.
image

@mlzxy
Copy link
Owner

mlzxy commented Oct 16, 2024

Thanks for your feedback. I am looking into it.

@mlzxy
Copy link
Owner

mlzxy commented Oct 16, 2024

Hi @JaehongJaehongMin , I have fixed the issue. There are two things you need to do:

  1. Reinstall RLBench from https://github.com/mlzxy/RLBench.arp
  2. Remove line "from mvt.utils import ForkedPdb" from point_renderer/rvt_renderer.py

I just realized the most frequently used RLBench (with rich language variants) comes from PerAct. This fork already becomes incompatible with the master branch of RLBench. So I rebase my change (that comment line) on top of their version.

The second point is not relevant to this issue, just one thing that I missed.

Sorry for the inconvenience. I have already updated the ENV.md to include this. Let me know if you have any problems.

@mlzxy mlzxy closed this as completed Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants