Comments (4)
error when run bash files
[ utils/filesystem ] Found bucket in savepath: my-bucket | path: logs/rwr-compressed-animals-s10k/samples/0_reference
[ sizes ] gs://my-bucket/logs/rwr-compressed-animals-s10k/samples/0_reference
Traceback (most recent call last):
File "/home/Desktop/Logical_Diffusion/Diffusion_RL/pipeline/save_sizes.py", line 37, in
fnames = utils.fs.ls(args.loadpath)
File "/home/Desktop/Logical_Diffusion/Diffusion_RL/ddpo/utils/filesystem.py", line 31, in ls
paths = sorted(fs.ls(path))
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/fsspec/asyn.py", line 113, in wrapper
return sync(self.loop, func, *args, **kwargs)
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/fsspec/asyn.py", line 98, in sync
raise return_result
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/fsspec/asyn.py", line 53, in _runner
result[0] = await coro
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/core.py", line 825, in _ls
out = await self._list_objects(path, prefix=prefix)
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/core.py", line 537, in _list_objects
items, prefixes = await self._do_list_objects(
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/core.py", line 572, in _do_list_objects
page = await self._call(
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/core.py", line 422, in _call
status, headers, info, contents = await self._request(
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/decorator.py", line 221, in fun
return await caller(func, *(extras + args), **kw)
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/retry.py", line 115, in retry_request
return await func(*args, **kwargs)
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/core.py", line 415, in _request
validate_response(status, contents, path, args)
File "/opt/conda/envs/ddpo/lib/python3.9/site-packages/gcsfs/retry.py", line 96, in validate_response
raise IOError("Forbidden: %s\n%s" % (path, msg))
OSError: Forbidden: b/my-bucket/o
[email protected] does not have storage.objects.list access to the Google Cloud Storage bucket. Permission 'storage.objects.list' denied on resource (or it may not exist).
WARNING:absl:Tensorflow library not found, tensorflow.io.gfile operations will use native shim calls. GCS paths (i.e. 'gs://...') cannot be accessed.
from ddpo.
should I modify the bucket = "gs://my_bucket" in use.py ?
from ddpo.
the dataset is generated by python sample.py
from ddpo.
Yes, there is no static dataset; new data is sampled from the model on-the-fly during finetuning (in sample.py for RWR variants and policy_gradient.py for DDPO variants).
As for the bucket path, all of the samples and checkpoints are saved to the GCP bucket specified on this line.
from ddpo.
Related Issues (11)
- Log prob Computation HOT 2
- Question on the meaning of 'advantage' HOT 1
- Reward function on both aesthetic and prompt alignment HOT 1
- About the equation of DDPO_IS in the paper and the code
- Thanks for opening! Can you offer the version that can be tested on GPU, such as Nvidia A100? HOT 4
- error on 4090+cuda12.1 HOT 7
- Question about finetune.py HOT 5
- About prompt for Image-Text Alignment HOT 2
- Unable to run the LLaVa bertscore HOT 1
- Working offline w/o RemoteWriter/Reader
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddpo.