ๅฎ่ฃ
ไฝ ไปฌ็bad-berfๅ๏ผไผๅฝฑๅๅๆ็nerfstudio็ปไปถๅทฅไฝ๏ผๅฝๆๅจไฝฟ็จns-export poissonๅฝไปคๆถๅบ็ฐ้่ฏฏ๏ผๅ
ถไธญ้่ฏฏๆพ็คบๅฆไธ
Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /home/ydf/anaconda3/envs/nerfstudio/bin/ns-export:5 in โ
โ โ
โ 2 # -- coding: utf-8 -- โ
โ 3 import re โ
โ 4 import sys โ
โ โฑ 5 from nerfstudio.scripts.exporter import entrypoint โ
โ 6 if name == 'main': โ
โ 7 โ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0]) โ
โ 8 โ sys.exit(entrypoint()) โ
โ โ
โ /home/ydf/nerfstudio/nerfstudio/scripts/exporter.py:48 in โ
โ โ
โ 45 ) โ
โ 46 from nerfstudio.fields.sdf_field import SDFField โ
โ 47 from nerfstudio.pipelines.base_pipeline import Pipeline, VanillaPipeline โ
โ โฑ 48 from nerfstudio.utils.eval_utils import eval_setup โ
โ 49 from nerfstudio.utils.rich_utils import CONSOLE โ
โ 50 โ
โ 51 โ
โ โ
โ /home/ydf/nerfstudio/nerfstudio/utils/eval_utils.py:28 in โ
โ โ
โ 25 import torch โ
โ 26 import yaml โ
โ 27 โ
โ โฑ 28 from nerfstudio.configs.method_configs import all_methods โ
โ 29 from nerfstudio.data.datamanagers.base_datamanager import VanillaDataManagerConfig โ
โ 30 from nerfstudio.engine.trainer import TrainerConfig โ
โ 31 from nerfstudio.pipelines.base_pipeline import Pipeline โ
โ โ
โ /home/ydf/nerfstudio/nerfstudio/configs/method_configs.py:650 in โ
โ โ
โ 647 โ
โ 648 all_methods, all_descriptions = method_configs, descriptions โ
โ 649 # Add discovered external methods โ
โ โฑ 650 all_methods, all_descriptions = merge_methods(all_methods, all_descriptions, *discover_m โ
โ 651 all_methods, all_descriptions = sort_methods(all_methods, all_descriptions) โ
โ 652 โ
โ 653 # Register all possible external methods which can be installed with Nerfstudio โ
โ โ
โ /home/ydf/nerfstudio/nerfstudio/plugins/registry.py:43 in discover_methods โ
โ โ
โ 40 โ descriptions = {} โ
โ 41 โ discovered_entry_points = entry_points(group="nerfstudio.method_configs") โ
โ 42 โ for name in discovered_entry_points.names: โ
โ โฑ 43 โ โ spec = discovered_entry_points[name].load() โ
โ 44 โ โ if not isinstance(spec, MethodSpecification): โ
โ 45 โ โ โ CONSOLE.print( โ
โ 46 โ โ โ โ f"[bold yellow]Warning: Could not entry point {spec} as it is not an ins โ
โ โ
โ /home/ydf/anaconda3/envs/nerfstudio/lib/python3.9/site-packages/setuptools/_vendor/importlib_met โ
โ adata/init.py:208 in load โ
โ โ
โ 205 โ โ return the named object. โ
โ 206 โ โ """ โ
โ 207 โ โ match = self.pattern.match(self.value) โ
โ โฑ 208 โ โ module = import_module(match.group('module')) โ
โ 209 โ โ attrs = filter(None, (match.group('attr') or '').split('.')) โ
โ 210 โ โ return functools.reduce(getattr, attrs, module) โ
โ 211 โ
โ โ
โ /home/ydf/anaconda3/envs/nerfstudio/lib/python3.9/importlib/init.py:127 in import_module โ
โ โ
โ 124 โ โ โ if character != '.': โ
โ 125 โ โ โ โ break โ
โ 126 โ โ โ level += 1 โ
โ โฑ 127 โ return _bootstrap._gcd_import(name[level:], package, level) โ
โ 128 โ
โ 129 โ
โ 130 _RELOADING = {} โ
โ โ
โ /home/ydf/nerfstudio/extand/BAD-NeRFstudio/badnerf/badnerf_config.py:14 in โ
โ โ
โ 11 from badnerf.data.badnerf_datamanager import BadNerfDataManagerConfig โ
โ 12 from badnerf.data.badnerf_dataparser import BadNerfDataParserConfig โ
โ 13 from badnerf.engine.badnerf_vanilla_trainer import BadNerfVanillaTrainerConfig โ
โ โฑ 14 from badnerf.models.badnerfacto import BadNerfactoModelConfig โ
โ 15 from badnerf.pipelines.badnerf_vanilla_pipeline import BadNerfVanillaPipelineConfig โ
โ 16 โ
โ 17 badnerf_nerfacto = MethodSpecification( โ
โ โ
โ /home/ydf/nerfstudio/extand/BAD-NeRFstudio/badnerf/models/badnerfacto.py:28 in โ
โ โ
โ 25 โ
โ 26 โ
โ 27 @DataClass โ
โ โฑ 28 class BadNerfactoModelConfig(NerfactoModelConfig): โ
โ 29 โ """BAD-NeRF-nerfacto Model Config""" โ
โ 30 โ โ
โ 31 โ _target: Type = field( โ
โ โ
โ /home/ydf/anaconda3/envs/nerfstudio/lib/python3.9/dataclasses.py:1021 in dataclass โ
โ โ
โ 1018 โ โ return wrap โ
โ 1019 โ โ
โ 1020 โ # We're called as @DataClass without parens. โ
โ โฑ 1021 โ return wrap(cls) โ
โ 1022 โ
โ 1023 โ
โ 1024 def fields(class_or_instance): โ
โ โ
โ /home/ydf/anaconda3/envs/nerfstudio/lib/python3.9/dataclasses.py:1013 in wrap โ
โ โ
โ 1010 โ """ โ
โ 1011 โ โ
โ 1012 โ def wrap(cls): โ
โ โฑ 1013 โ โ return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen) โ
โ 1014 โ โ
โ 1015 โ # See if we're being called as @DataClass or @DataClass(). โ
โ 1016 โ if cls is None: โ
โ โ
โ /home/ydf/anaconda3/envs/nerfstudio/lib/python3.9/dataclasses.py:927 in _process_class โ
โ โ
โ 924 โ โ flds = [f for f in fields.values() โ
โ 925 โ โ โ โ if f._field_type in (_FIELD, _FIELD_INITVAR)] โ
โ 926 โ โ _set_new_attribute(cls, 'init', โ
โ โฑ 927 โ โ โ โ โ โ _init_fn(flds, โ
โ 928 โ โ โ โ โ โ โ โ โ frozen, โ
โ 929 โ โ โ โ โ โ โ โ โ has_post_init, โ
โ 930 โ โ โ โ โ โ โ โ โ # The name to use for the "self" โ
โ โ
โ /home/ydf/anaconda3/envs/nerfstudio/lib/python3.9/dataclasses.py:504 in _init_fn โ
โ โ
โ 501 โ โ โ if not (f.default is MISSING and f.default_factory is MISSING): โ
โ 502 โ โ โ โ seen_default = True โ
โ 503 โ โ โ elif seen_default: โ
โ โฑ 504 โ โ โ โ raise TypeError(f'non-default argument {f.name!r} ' โ
โ 505 โ โ โ โ โ โ โ โ 'follows default argument') โ
โ 506 โ โ
โ 507 โ locals = {f'type{f.name}': f.type for f in fields} โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
TypeError: non-default argument 'camera_optimizer' follows default argument