Git Product home page Git Product logo

rwth-e3d / ifcnet-models Goto Github PK

View Code? Open in Web Editor NEW
30.0 1.0 7.0 4.91 MB

Code for the EG-ICE 2021 Paper "IFCNet: A Benchmark Dataset for IFC Entity Classification"

Home Page: https://ifcnet.e3d.rwth-aachen.de/

License: MIT License

Makefile 4.63% Python 62.96% Jupyter Notebook 32.41%
deep-learning computer-vision dataset ifc industry-foundation-classes bim building-information-modelling

ifcnet-models's People

Contributors

cemunds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ifcnet-models's Issues

DeprecationWarning

Started a local Ray instance. View the dashboard at http://127.0.0.1:8265
2024-01-26 18:46:32,146 INFO tune.py:220 -- Initializing Ray automatically. For cluster usage or custom Ray initialization, call ray.init(...) before tune.run(...).
2024-01-26 18:46:32,149 INFO tune.py:592 -- [output] This will use the new output engine with verbosity 2. To disable the new output and use the legacy output engine, set the environment variable RAY_AIR_NEW_OUTPUT=0. For more information, please see ray-project/ray#36949
Traceback (most recent call last):
File "src/models/train_model.py", line 124, in
main(args)
File "src/models/train_model.py", line 100, in main
result = tune.run(
File "/home/snehil/.local/lib/python3.8/site-packages/ray/tune/tune.py", line 620, in run
os.environ["RAY_AIR_LOCAL_CACHE_DIR"] = local_dir
File "/usr/lib/python3.8/os.py", line 680, in setitem
value = self.encodevalue(value)
File "/usr/lib/python3.8/os.py", line 750, in encode
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not PosixPath
snehil@snehil-VirtualBox:~/Downloads/ifcnet-models-master$ python3 src/models/train_model.py MVCNN
2024-01-26 18:57:01,787 INFO worker.py:1715 -- Started a local Ray instance. View the dashboard at http://127.0.0.1:8265
2024-01-26 18:57:02,406 INFO tune.py:220 -- Initializing Ray automatically. For cluster usage or custom Ray initialization, call ray.init(...) before tune.run(...).
2024-01-26 18:57:02,408 INFO tune.py:592 -- [output] This will use the new output engine with verbosity 2. To disable the new output and use the legacy output engine, set the environment variable RAY_AIR_NEW_OUTPUT=0. For more information, please see ray-project/ray#36949
Traceback (most recent call last):
File "src/models/train_model.py", line 124, in
main(args)
File "src/models/train_model.py", line 100, in main
result = tune.run(
File "/home/snehil/.local/lib/python3.8/site-packages/ray/tune/tune.py", line 772, in run
experiments[i] = Experiment(
File "/home/snehil/.local/lib/python3.8/site-packages/ray/tune/experiment/experiment.py", line 149, in init
self._run_identifier = Experiment.register_if_needed(run)
File "/home/snehil/.local/lib/python3.8/site-packages/ray/tune/experiment/experiment.py", line 345, in register_if_needed
register_trainable(name, run_object)
File "/home/snehil/.local/lib/python3.8/site-packages/ray/tune/registry.py", line 105, in register_trainable
trainable = wrap_function(trainable, warn=warn)
File "/home/snehil/.local/lib/python3.8/site-packages/ray/tune/trainable/function_trainable.py", line 287, in wrap_function
raise DeprecationWarning(_CHECKPOINT_DIR_ARG_DEPRECATION_MSG)
DeprecationWarning: Accepting a checkpoint_dir argument in your training function is deprecated.
Please use ray.train.get_checkpoint() to access your checkpoint as a
ray.train.Checkpoint object instead. See below for an example:

Before

from ray import tune

def train_fn(config, checkpoint_dir=None):
if checkpoint_dir:
torch.load(os.path.join(checkpoint_dir, "checkpoint.pt"))
...

tuner = tune.Tuner(train_fn)
tuner.fit()

After

from ray import train, tune

def train_fn(config):
checkpoint: train.Checkpoint = train.get_checkpoint()
if checkpoint:
with checkpoint.as_directory() as checkpoint_dir:
torch.load(os.path.join(checkpoint_dir, "checkpoint.pt"))
...

tuner = tune.Tuner(train_fn)
tuner.fit()

error happened when i run python src/models/train_model.py MVCNN

(raylet) /home/zsy/anaconda3/envs/ifcnet/lib/python3.8/site-packages/redis/connection.py:
72: UserWarning: redis-py works best with hiredis. Please consider installing
(raylet) warnings.warn(msg)
(raylet) Traceback (most recent call last):
(raylet) File "/home/zsy/anaconda3/envs/ifcnet/lib/python3.8/site-packages/ray/new_dash
board/agent.py", line 22, in
(raylet) import ray.new_dashboard.utils as dashboard_utils
(raylet) File "/home/zsy/anaconda3/envs/ifcnet/lib/python3.8/site-packages/ray/new_dash
board/utils.py", line 20, in
(raylet) import aiohttp.signals
(raylet) ModuleNotFoundError: No module named 'aiohttp.signals'

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.