mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-19 22:00:35 +08:00
apply pyfmt with usort to opted-in sources
Reviewed By: zertosh Differential Revision: D24880203 fbshipit-source-id: 2034cdfc2712209e86d3d05c119c58f979b05c52
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4296fd96c5
commit
90f1d5c258
@@ -11,15 +11,15 @@ sys.path.insert(0, path.join(path.dirname(__file__), "..", ".."))
|
||||
|
||||
def create_multiview():
|
||||
"""Test multiview optimization."""
|
||||
from pytorch3d.renderer.points.pulsar import Renderer
|
||||
import torch
|
||||
from torch import nn
|
||||
import imageio
|
||||
from torch.autograd import Variable
|
||||
|
||||
# import cv2
|
||||
# import skvideo.io
|
||||
import numpy as np
|
||||
import torch
|
||||
from pytorch3d.renderer.points.pulsar import Renderer
|
||||
from torch import nn
|
||||
from torch.autograd import Variable
|
||||
|
||||
# Constructor.
|
||||
n_points = 10
|
||||
|
||||
@@ -24,8 +24,8 @@ class TestChannels(TestCaseMixin, unittest.TestCase):
|
||||
|
||||
def test_basic(self):
|
||||
"""Basic forward test."""
|
||||
from pytorch3d.renderer.points.pulsar import Renderer
|
||||
import torch
|
||||
from pytorch3d.renderer.points.pulsar import Renderer
|
||||
|
||||
n_points = 10
|
||||
width = 1_000
|
||||
|
||||
Reference in New Issue
Block a user