mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 22:38:48 +08:00
Forgot to save
This commit is contained in:
1 parent
2fc2fe3817
commit
3e7ca29762
1 file changed
+2
-2
+2
-2
@@ -19,7 +19,7 @@ Miscellaneous helper code.
|
|||||||
import hashlib
|
import hashlib
|
||||||
import json
|
import json
|
||||||
from pydoc import locate
|
from pydoc import locate
|
||||||
from typing import Any, Dict
|
from typing import Any, Callable, Dict
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
from omegaconf import DictConfig
|
from omegaconf import DictConfig
|
||||||
@@ -111,7 +111,7 @@ class IterableWrapper: # pylint: disable=too-few-public-methods
|
|||||||
new_next (callable): function that will be called instead as the __next__()
|
new_next (callable): function that will be called instead as the __next__()
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, instance: object, new_next: callable):
|
def __init__(self, instance: object, new_next: Callable):
|
||||||
self.instance = instance
|
self.instance = instance
|
||||||
self.new_next = new_next
|
self.new_next = new_next
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user