-
Notifications
You must be signed in to change notification settings - Fork 20
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
error while importing design-bench #11
Comments
What version of When I set up design bench I try (as much as I can) to use the dependencies listed in https://github.com/brandontrabucco/design-baselines/blob/master/requirements.txt |
Hi! |
@harish2sista can you list the error that you get? Is it the same as the original poster's error message? In my own experience setting this up there are some very specific version requirements for some of the packages, and it's not guaranteed to work out of the box when you install from You can check my own working For example if you suspect the issue is with the
However you may also have to do the same thing for any extra dependencies of |
@christopher-beckham Thanks for the swift response. The error message I received is
And thank you for sending your |
Also, after investigation I found that the |
I am using Python 3.8 yes. If you could try with that it would be good. I never tried Python 3.7 but my first attempt at the environment was with 3.9 and I didn't get it to work. For 3.9 there were certain modules (wheels) which were compiled for 3.8 but not 3.9, and so I had to downgrade because of pip complaining it couldn't find anything. Again, this seems to be a consequence of the fact that Design Bench requires some older library versions. I am currently working on a fork which fixes some of these issues and is much more forgiving with dependencies. If you think it might help you, I could try work on it a bit more this weekend and make it public. Thanks. |
@christopher-beckham Thank you very much!! That would be really helpful! |
Hi, which Mujoco-py version are you using? |
I'm using the latest version I got from the Github. Here are some instructions I wrote for myself, your mileage may vary:
This worked for me so long as I exported my
The last issue involved something to do with some missing libs which need to be installed. While this can be easily done with root privileges and
|
I'm facing the same issue. If I'm correct, it seems that the file on the web 'https://storage.googleapis.com/design-bench/smiles_vocab.txt' is missing. It is defined in vocab_file = DiskResource(
os.path.join(DATA_DIR, 'smiles_vocab.txt'),
download_method="direct",
download_target=f'{SERVER_URL}/smiles_vocab.txt') This code seems to cache a file on the web, the link to the file seems broken now. |
Hi @seminumber, Thanks for bringing this up. I did more deep research following this solution. It seems the entire design-bench server is not working! @brandontrabucco, could you please help us resolve this issue? |
Hmm this is concerning. I have smiles_vocab locally, maybe I can upload it somewhere for now for you. I could maybe modify the code on my fork so that it will just pull the file from my Google Drive. (For context, I am working on my own fork which will not import everything at once. Dataset specific imports should only happen when those datasets get created. Right now in order to import design_bench you need to have satisfied every dataset's dependencies.) |
@christopher-beckham, Thank you for the help! Could you please post the link to the smiles_vocab file after you upload it? Looking forward to your fork; thank you! |
You can get the data here: https://drive.google.com/drive/folders/1tmbFImzhkivZUjHeh434D7V7mrxTBu1H?usp=drive_link I don't know if it has all the data, because I only imported certain things like the RL environments. Extract the contents to I could look at my fork and maybe specify an alternative which downloads it from my gdrive. |
Brandon is currently on vacation but I did recently inform him about this so hopefully it will be an easy fix from his end. Unfortunately I am suffering from this issue myself since my |
Hi @christopher-beckham, I almost got the package to work with |
Thank you for sharing the |
I don't know about Tensorflow GPU, personally I use PyTorch and so when At this point just make sure that you can |
Actually, that is causing an issue. I am unable to run the I am getting this repetitive error
|
There is not much I can do to help from memory (I don't use TF), but you can try to find it (or download it) and insert it into your LD_LIBRARY_PATH and see if that helps. |
For this error:
You need to have CUDA 11.0 installed and its directory set in |
Hi, @christopher-beckham. I am able to get I have installed I have used the
|
Hi,
As I said, my design_bench_data folder I uploaded is incomplete. I would
wait until Brandon gets those links fixed.
…On Sun, Jan 21, 2024 at 15:55 Harish Sista ***@***.***> wrote:
Hi, @christopher-beckham <https://github.com/christopher-beckham>. I am
able to get design-bench installed with GPU support on conda env using
Python-3.7. This is my package list <script src="
https://gist.github.com/harish2sista/715ace794e2ff2f590d3cc7790b4fcf5.js
"></script>
I have installed cudatoolkit and cudnn using the nvidia channel through
conda.
I have used the design_bench_data directory you have shared before. There
is a new error of missing files with this directory; could you please help
me with this?
FileNotFoundError: [Errno 2] No such file or directory:
'/home/harish2sista/miniconda3/envs/MBO/lib/python3.7/site-packages/design_bench_data/gfp/gfp-x-0.npy'
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASOJABDJXG2NT2VVRUA45DYPV6FHAVCNFSM6AAAAAAXMKTZV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSG43DAOBSGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This is a much more complete version of https://drive.google.com/file/d/1RImr1Fw5ImKXX66uOGFGO2jwJQvFG90v/view?usp=sharing It contains the following data for:
|
Hi @christopher-beckham thanks for the update, I am able to use design-bench on my CPU. Btw, this directory https://drive.google.com/file/d/1RImr1Fw5ImKXX66uOGFGO2jwJQvFG90v/view?usp=sharing does not have the |
Also, another question I have is does |
The short answer is probably, because the PyTorch API is pretty stable at this point. But it depends on what you're doing... almost all approximating oracles in this library use Tensorflow. I see one oracle using PyTorch and I doubt that a newer version of PyTorch is going to break it. To be clear, Design Bench itself is framework "agnostic", but that gets violated as soon as you need to use a specific oracle which was trained on a specific library. When I finish my fork of the library (which I might just put as a separate "development" branch on this repository) it should be more clear that this is the case. Right now when you run |
Thanks all for diagnosing this, locating the broken server, and for sharing your own cached data while I work on fixing the repo! Especially christopher-beckham for the data, and for answering so many of the questions that have arisen because of the broken server! I'm migrating |
This google drive folder contains additional raw data for design-bench tasks, including the |
I'm working on tracking down a copy of |
Hi, @brandontrabucco, thanks for sharing the Also, I tried testing some tasks, and it seems like none of them are working because of the missing files. Could you please look into this too? |
Also, downloading this directory from Google Drive as Try downloading using:
|
I have a branch which is a temporary solution in
i.e. it will mass-download the entire data into the data directory. It does require This is what I suggest you do for now, until I refactor the code so that |
Hello
I installed the design-bench package the way you mentioned that didn't require MuJoCo and every thing goes fine until when I am trying to import design-bench I get this error.
Is there anything that I am missing? like downloading other files?
The text was updated successfully, but these errors were encountered: