Giter Site home page Giter Site logo

About Dataset about ddpo HOT 4 CLOSED

jannerm avatar jannerm commented on August 23, 2024
About Dataset

from ddpo.

Comments (4)

chaojiewang94 avatar chaojiewang94 commented on August 23, 2024

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.

chaojiewang94 avatar chaojiewang94 commented on August 23, 2024

should I modify the bucket = "gs://my_bucket" in use.py ?

from ddpo.

chaojiewang94 avatar chaojiewang94 commented on August 23, 2024

the dataset is generated by python sample.py

from ddpo.

jannerm avatar jannerm commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.